DETROIT -- Aaron Rodgers took the shotgun snap on an untimed down with no time left, shuffled to his left, slipped a sack, rolled right and heaved a pass that seemed as high as it was long.
Richard Rodgers, drifting toward the end zone while teammates and opponents crowded behind him, leaped and made the catch on the 61-yard play, giving the Green Bay Packers a stunning 27-23 victory over the Detroit Lions on Thursday night.
"I knew I was going to have to buy some time to allow them to get into the end zone," Aaron Rodgers said. "I knew once I got outside the right that I was going to be able to set up and throw."
The Packers got one more shot to win after Detroit defensive end Devin Taylor was called for grabbing Aaron Rodgers' face mask on a tackle on what would have been the last play. The 61-yard touchdown is the longest game-winning, game-ending Hail Mary in NFL history, according to the Elias Sports Bureau. The 61 air yards also are the most air yards on a touchdown in the past 10 seasons.
The Packers (8-4) had lost four of five.
"Unfortunately, this counts as one win," Packers coach Mike McCarthy said. "It feels like more."
The Lions (4-8) had won three straight and blew a chance to sweep the season series with Green Bay for the first time since 1991.
"Tough one to lose," Lions coach Jim Caldwell said. "Those are the ones that eat at you. The guys are upset because they gave so much, but we needed one more play. It is never over in this league."
"Not an easy pill to swallow," Stafford said.
Aaron Rodgers scored on a 17-yard run with 3:04 left, pulling the Packers within two points.
Stafford connected with TJ Jones to convert a third-and-12 from the Detroit 18 after Green Bay called its final timeout with 2:54 to go. The Lions needed one more first down to seal the victory, but Green Bay forced them to punt and got the ball back on the 21 with 23 seconds left.
Following two incompletions, including one on which Detroit appeared to get away with pass interference, Aaron Rodgers threw a pass to James Jones, who lateraled it to Richard Rodgers, who tossed it back to Aaron Rodgers with no one behind him to lateral it again to keep the play alive.
But Taylor grabbed Aaron Rodgers' face mask, giving the Packers another play.
"I wasn't able to get away from those guys, but luckily, my face mask was grabbed," Aaron Rodgers said.
Richard Rodgers' father, also named Richard Rodgers, had to like what he saw of his son's winning catch on the all-University of California connection. The elder Rodgers is credited with calling "The Play" and threw two laterals during it to finish off the Cal-Stanford game in 1982, which ended with the Cardinal band on the field and the Bears winning 25-20.
Western Michigan's band performed at halftime of the Packers-Lions game, but it wasn't on the field for the heart-pounding finish at Ford Field.
Aaron Rodgers scrambled long enough to give his receivers time to sprint to the end zone and got to the outside. He planted his foot at about the Green Bay 36 and got it into the end zone, where Richard Rodgers found a way to get to it in front of a slew of players from both teams, leaping for the catch.
The players had nearly 13.5 seconds between the snap of the ball and the time of the catch to get into position. The pass was in the air for 5.42 seconds on its way to the end zone.
"I've never had a completed Hail Mary before," Aaron Rodgers said.
He has now, much to Caldwell's chagrin.
"We weren't in a position to get our hands on it," Caldwell lamented.
Aaron Rodgers finished 24-of-36 for 289 yards with two TDs and an interception.
"It's the greatest feeling," he said. "We're blessed to be able to play this game, and it reminds you at times how special this game is. You live for days like this, to be able to have something miraculous happen."
Stafford was 23-of-35 for 220 yards and two scores. He also lost a fumble.
Detroit went ahead 17-0 after its first three drives and capped the opening possession of the third quarter with a field goal to go ahead 20-0.
It wasn't a big enough cushion.
"There's going to be no masking this. We know that we struggled," Aaron Rodgers said. "We're inconsistent on offense. We can't be that type of football team if we want to finish the season where we want to finish the season. We're 8-4, there's four games left, and we know it's about giving yourself an opportunity, getting into the dance.
"It's a great game we play. This one obviously ranks up there as one of the greatest joys on the field that we've had, together as a team and personally."
The Packers scored their first points with 5:44 left in the third when James Starks fumbled and Randall Cobb recovered it in the end zone. ... Aaron Rodgers perfectly lofted a 17-yard pass over linebacker Josh Bynes to Davante Adams for his first TD reception this season to pull the Packers within six points late in the third. ... Lost in the loss will be Johnson's 17-yard TD catch in the first quarter in which he leaped to catch it with two hands, squeezed the ball with only his right hand as he planted his right foot and dragged his left on the side of the end zone.
The Associated Press and ESPN's Jason Wilde and Stats & Information contributed to this report.
Tatis smiles upon hearing his name attached to LeBron and Mahomes
Fernando Tatis Jr. smiles when he is compared to LeBron James and Patrick Mahomes.
Myles Garrett takes his talents to the hardwood
Watch Myles Garrett throw down some dunks, showing he's skilled not just on the gridiron but also the basketball court.
Tampa Bay Buccaneers would be 'elated' to extend Tom Brady's contract beyond 2021
The Tampa Bay Buccaneers are open to giving Tom Brady a contract extension and would like to keep him in the team's uniform for as long as he wants to play.
Which receiver should go first: Devonta Smith or JaMarr Chase?
Mel Kiper dives into who should go first in the NFL draft between Devonta Smith and JaMarr Chase and discusses his high expectations for Kyle Pitts.
Will Jimmy G be the 49ers' QB in 2021?
Marcus Spears expects the 49ers to move on from Jimmy Garoppolo if they get an opportunity to get someone better.
Could the Bucs extend Tom Brady?
Jeff Saturday reacts to the possibility of Tom Brady signing a contract extension with the Buccaneers.