DETROIT >> Jared Goff threw a perfect game, setting an NFL record by completing all 18 of his passes to help the Detroit Lions beat the Seattle Seahawks 42-29 Monday night.

Kurt Warner had the previous league mark for the passes without an incompletion, going 10 for 10 for Arizona against Houston in 2005.

Goff also had a touchdown reception for the first time in his career, catching a pass from Amon-Ra St. Brown, and threw one of his two touchdown passes to the All-Pro receiver. Goff and St. Brown are the eighth duo in league history to throw and catch a touchdown from each other.

St. Brown lobbed a 7-yard pass to Goff on a trick play in the the third quarter and caught an 8-yard touchdown from the quarterback in the fourth.

Goff, who threw for 292 yards, completed his first 14 passes in Detroit’s previous win at Arizona to set a personal record that lasted a little more than a week.

He also threw a pass over the middle to Jameson Williams, who ran away from the Seahawks for a 70-yard touchdown in the third quarter.

The Lions (3-1) asked Goff to throw one more time from his end zone and he was sacked for a safety with 2:01 remaining, cutting their lead to 13 points.

The Seahawks (3-1) simply could not overcome an injury-depleted defense that could not stop Detroit on the ground or through the air.

Jahmyr Gibbs ran for two touchdowns in the second quarter and finished with 78 yards rushing. David Montgomery started the scoring barrage with a 1-yard touchdown run, capping a 10-play, 93-yard drive that took 7-plus minutes off the clock in the first quarter, and had 80 yards from scrimmage.