OMAHA (KPTM)- After several on-field errors and controversial calls -- the short and painful era of replacement referees is over.
NFL and referees union members reached a deal late last night to end the lockout.
NFL Commissioner Roger Goodell said the refs will return to the field for Thursday night's game between the Baltimore Ravens and the Cleveland Browns.
He issued a statement saying "we appreciate the commitment of the NFLRA in working through the issues to reach this important agreement."
The eight-year deal ends an embarrassing period for the NFL.
The league has used replacement officials for the first three weeks of the regular season, as well as the pre-season.
A series of bad referee decisions have become fodder for jokes and criticism.
It culminated in a game-deciding call Monday night between the Green Bay Packers and the Seattle Seahawks.
The call gave the game to the Seahawks -- and inspired criticism by fans, players and even politicians.
It also prompted a chorus of protesting honks outside the home stadium of the Packers.
The bad call was no doubt heart-breaking and perhaps even bank-breaking for those with money on the line.
The deal includes details about officials' pensions and retirement benefits and adds a pay bump from $149,000 a year in 2011 to $173,000 in 2013.
The pay will rise to $205,000 by 2019.
The agreement will also allow the NFL to hire some officials on a year-round basis.