CARSON, Calif. (AP) -- Cody Parkey hit his fourth field goal from 54 yards with 1:05 to play, and the Miami Dolphins rallied in the fourth quarter to spoil the Los Angeles Chargers' home opener with a 19-17 victory Sunday.
Younghoe Koo missed a 44-yard field goal attempt with 5 seconds left after Philip Rivers maneuvered the Chargers (0-2) into scoring range in the final minute before a crowd of 25,381 in their first home game since relocating to the Los Angeles area after 56 seasons in San Diego.
Jay Cutler passed for 230 yards and Jay Ajayi rushed for 122 in the delayed season opener for the Dolphins, who spent the past nine days in California after leaving South Florida early to avoid Hurricane Irma. Parkey did most of their scoring, connecting from 30, 28 and 35 yards before burying his longest kick in the waning moments.
Rivers passed for 331 yards, and Antonio Gates set an NFL record with his 112th touchdown reception as a tight end.
Rivers and the Chargers moved 54 yards in 52 seconds to set up Koo, whose potential game-tying field goal was blocked in Denver last week. The undrafted rookie kicker pushed this one barely right.
Kenny Stills caught a 29-yard TD pass in the third quarter from Cutler, who went 24 of 33 without an interception in his Dolphins debut.
Parkey's 35-yard field goal trimmed Los Angeles' lead to one point with 6:28 to play, and Miami's defense held. The Dolphins got the ball back with 3:02 left, and Cutler got them into position for another big kick from Parkey, the Jupiter, Florida, native claimed off waivers two weeks ago.
The Dolphins were well-rested after their home opener against Tampa Bay was postponed, leaving them to play their latest season opener since 1977.
The Chargers' latest last-minute loss dampened the festivities around a fresh start for the franchise, which brought five members of its inaugural 1960 Los Angeles Chargers to its temporary home at 27,000-seat StubHub Center, which was packed with a lively mix of both opponents' fans.
Gates broke his tie with Tony Gonzalez on an 8-yard throw from Rivers in the third quarter. Melvin Gordon scored the Chargers' first touchdown in their new home from 1 yard in the second quarter to cap a 70-yard drive, but both teams struggled to put together sustained scoring marches.
Gates also made his 900th reception in the first half, becoming the third tight end in NFL history to hit the mark.
Rivers surpassed Vinny Testaverde's 46,233 yards passing for 11th place in league history during the second half.
Dolphins: LB Lawrence Timmons was inactive after unexpectedly leaving the team during the weekend. He was expected to start this season for the Dolphins, who signed him to a $12 million deal after he spent the past 10 years with Pittsburgh.
Chargers: Starting CB Jason Verrett was unable to play because of pain in his surgically repaired knee.
Dolphins: After traveling home for a week of practice at their undamaged training complex in Davie, they'll travel to New York to face the Jets.
Chargers: A three-game homestand continues with a visit from the Kansas City Chiefs, who have beaten their AFC West rivals six straight times.