BALTIMORE — Philip Rivers capped a frantic drive with a 1-yard touchdown pass to Eddie Royal with 38 seconds to go as the San Diego Chargers earned a 34-33 win over the Baltimore Raveens on Sunday afternoon.

The Chargers (8-4) trailed 30-20 with 6:13 remaining and 33-27 with 2:22 left before Rivers brought them back.

After a pass interference call against Anthony Levine in the end zone, Rivers hit Royal to conclude an 80-yard march to the Chargers’ third straight win.

Baltimore (7-5) lost at home in November for the first time since 2009. The Ravens were 11-0 all-time at home against West Coast teams.

Rivers went for 34-for-45 for 383 yards and three touchdowns, two to Keenan Allen.

Joe Flacco threw for two scores for Baltimore, which wasted four field goals from Justin Tucker and 106 yards rushing from Justin Forsett.

Bengals 14, Buccaneers 13: In Tampa, Florida, Andy Dalton ran for one touchdown and threw to A.J. Green for another, helping the Cincinnati Bengals overcome numerous mistakes to beat the Buccaneers.

Dalton shrugged off three first-half interceptions, and the Bengals (8-3-1) weathered 10 penalties and an ill-advised onside kick that cost them momentum after taking the lead in the second half to win on the road for the third consecutive week. That’s a franchise first that seemed improbable after a lopsided home loss to Cleveland a month ago.

The Bengals lead the tightest division race in the NFL, with a 1½-game lead over each of their AFC North rivals — all of whom lost.

Tampa Bay (2-10) threatened in the closing minutes. However, a 21-yard completion that would have put the Bucs in field goal range was overturned after a replay review confirmed the Bucs had 12 men on the field on the play.

The ball was moved back to the 46, an additional 14 seconds were added to the clock, and Tampa Bay turned over the ball on downs.

Texans 45, Titans 21: In Houston, Ryan Fitzpatrick threw for a franchise-record six touchdowns and DeAndre Hopkins had a career-best 238 yards receiving and two scores. Fitzpatrick returned to the lineup after being benched for two games for Ryan Mallett, who suffered a season-ending chest injury last week.

J.J. Watt helped out in the win, too. He had his third touchdown reception, two sacks, forced and recovered a fumble for Houston (6-6).

Tennessee’s Zach Mettenberger, a former LSU standout, injured his right shoulder playing behind a makeshift offensive line missing three starters. Jake Locker took over in the third quarter and threw for 91 yards with a touchdown and two interceptions for the Titans (2-10), who have lost six straight.

Bills 26, Browns 10: In Orchard Park, New York, Bills quarterback Kyle Orton and defensive end Jerry Hughes scored touchdowns 10 seconds apart in the third quarter.

Orton put the Bills ahead 7-3 with a 3-yard pass to Chris Hogan. Buffalo’s defense scored on the next play from scrimmage when Hughes stripped the ball from running back Terrence West, and returned the fumble 18 yards.

It was too deep of a hole for Browns rookie quarterback Johnny Manziel to dig out of. Taking over with 12:01 left after starter Brian Hoyer threw his second interception, Manziel capped an eight-play, 80-yard drive with a 10-yard run that cut Buffalo’s lead to 20-10.

The Bills (7-5) won their second straight. Cleveland (7-5) lost for only the second time in six games.

Rams 52, Raiders 0: In St. Louis, Tre Mason scored two long touchdowns and Shaun Hill accounted for three touchdowns in the rout. St. Louis had an out-of-nowhere 38-point first half that tied for second biggest in franchise history.

Mason had 113 yards rushing on six carries in the half with an 89-yard score, plus a 35-yard jaunt on a screen pass that opened the scoring. Hill was 12-for-15 for 178 yards and two touchdowns and ran for a 2-yard score.

The Rams (5-7) scored touchdowns on their first five possessions, got a field goal on the sixth midway through the second quarter to top their previous best scoring total for any game this season. The 38-point halftime lead was the largest in franchise history, one more than against Green Bay in 1980.

The Raiders (1-11) were never competitive and committed five turnovers.

Colts 49, Redskins 27: In Indianapolis, Andrew Luck threw a career-high five touchdown passes and topped the 300-yard mark for a franchise-record 10th time this season.

Indianapolis (8-4) won for the eighth time in 10 games since starting 0-2.

Luck was 19-of-27 for 370 yards and had touchdown passes of 30, 3, 48, 73 and 79 yards. He broke Peyton Manning’s mark for most 300-yard games in one season and joined Manning and Dan Marino as the only quarterbacks to top 4,000 yards in two of their first three seasons.

He did all that while Robert Griffin III, the No. 2 overall pick behind Luck in 2012, watched from the sideline. Griffin’s replacement, Colt McCoy, was 31-of-47 for a career-best 392 yards and three touchdowns, also a career high.

Washington (3-9) has lost four straight.

Jaguars 25, Giants 24: In Jacksonville, Florida, Josh Scobee kicked a 43-yard field goal with 28 seconds remaining, and the Jaguars rallied from a 21-point deficit.

The Jaguars (2-10) ended a four-game losing streak and dealt the Giants (3-9) a seventh consecutive loss that could raise more questions about coach Tom Coughlin’s future.

The Giants dominated the first half, scoring 21 points in the second quarter and looking like they would notch their first victory since early October.

But after the break Geno Hayes forced Eli Manning to fumble and teammate J.T. Thomas recovered in the end zone.

Rookie Aaron Colvin returned a fumble 41 yards for a touchdown in the fourth period. It was the first time in franchise history Jacksonville scored two defensive touchdowns in the same game.