FOXBOROUGH, Mass. (AP) — Justin Herbert threw three touchdown passes and the Los Angeles Chargers clinched their second playoff appearance in three seasons with a 40-7 victory over the New England Patriots on Saturday.

The win also secured the fourth postseason appearance in Jim Harbaugh’s five seasons as an NFL coach, adding to the three he made during his stint with the San Francisco 49ers.

Herbert finished 26 of 38 for 281 yards to become the third player in NFL history with at least 3,000 passing yards and 20 touchdown passes in each of his first five seasons. He joins Pro Football Hall of Famer Peyton Manning and Russell Wilson.

Ladd McConkey had eight catches for 94 yards and pulled in TD throws of 6 and 40 yards. With a 10-yard reception in the second quarter he passed 1,000 yards receiving for the season, making him the third Chargers rookie receiver to reach that milestone.

JK Dobbins rushed 19 times for 76 yards and a TD.

The Patriots have lost six straight games, their second such losing streak of the season. They are now 2-14 the last two seasons at home.

New England quarterback Drake Maye finished 12 of 22 for 117 yards and a touchdown. He became the first rookie quarterback in franchise history with a TD pass in eight straight games. But he was sacked four times, and a second-quarter fumble marked his eighth straight game with at least one turnover.

Los Angeles outgained New England 428-181 for the game.

Maye briefly left the game to be evaluated for a head injury following a blow to his helmet in the first quarter.

He was scrambling near the sideline on third down of the Patriots’ first possession when he was hit by Chargers cornerback Cam Hart, jarring the ball loose as Maye spun out of bounds.

No flag was thrown on the play and Maye stayed down on the turf for several seconds before eventually getting up and jogging off the field. He initially sat on the bench before going to the medical tent for evaluation.

He was replaced by backup Jacoby Brissett in the next series, which ended in a punt. But after further evaluation in the locker room and a Cameron Dicker 27-yard field goal put the Chargers in front 10-0, Maye returned to the game for the Patriots’ third series, at the 10:15 mark of the second quarter.

Maye scrambled for 9 yards on his first play back, ending with him being hit by linebacker Junior Colson as he slid to the ground. Colson was flagged for unnecessary roughness.

Five plays later, Maye mistimed a toss to Demario Douglas, causing a fumble that was recovered by Derwin James.

The Chargers took over on the New England 24 and nine plays later, Herbert connected with McConkey for a 6-yard touchdown pass to put Los Angeles in front 17-0.

Injuries

Chargers: WR Joshua Palmer left the game in the third quarter with a heel injury. DB Elijah Molden limped off the field after a collision in the third quarter. He returned but was later driven off the field on a golf cart because of a shin injury.

Patriots: In addition to Maye, CB Christian Gonzalez left the game in the second quarter to be evaluated for a head injury and was later ruled out with a concussion.

Rookie record

McConkey, a second-round draft selection, also set a Chargers rookie record for catches, surpassing Keenan Allen, who had 71 in 2013.

Up next

Chargers: Visit Las Vegas in their regular-season finale.

Patriots: Host Buffalo next Sunday in their season finale.

___

AP NFL: https://apnews.com/hub/nfl

Los Angeles Chargers wide receiver Ladd McConkey (15) is congratulated by quarterback Justin Herbert (10) after his touchdown against the New England Patriots during the first half of an NFL football game, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Michael Dwyer)

Credit: AP

icon to expand image

Credit: AP

Los Angeles Chargers tight end Will Dissly (81) tries to elude New England Patriots defensive tackle Daniel Ekuale (95) during the first half of an NFL football game, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Robert F. Bukaty)

Credit: AP

icon to expand image

Credit: AP

Los Angeles Chargers head coach Jim Harbaugh during the first half of an NFL football game against the New England Patriots, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Robert F. Bukaty)

Credit: AP

icon to expand image

Credit: AP

Los Angeles Chargers wide receiver Derius Davis (12) celebrates after his touchdown against the New England Patriots during the first half of an NFL football game, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Michael Dwyer)

Credit: AP

icon to expand image

Credit: AP

Los Angeles Chargers wide receiver Derius Davis (12) catches a touchdown pass against New England Patriots safety Kyle Dugger (23) during the first half of an NFL football game, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Robert F. Bukaty)

Credit: AP

icon to expand image

Credit: AP

New England Patriots quarterback Drake Maye (10) looks to pass against the Los Angeles Chargers during the first half of an NFL football game, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Robert F. Bukaty)

Credit: AP

icon to expand image

Credit: AP

Los Angeles Chargers running back J.K. Dobbins (27) tries to break away from New England Patriots linebacker Anfernee Jennings (33) during the first half of an NFL football game, Saturday, Dec. 28, 2024, in Foxborough, Mass. (AP Photo/Robert F. Bukaty)

Credit: AP

icon to expand image

Credit: AP