HOUSTON - Rookie Matt McGloin won the battle of undrafted free-agent quarterbacks on Sunday.
McGloin threw three touchdown passes in his first NFL start and the Oakland Raiders extended the Houston Texans' franchise-record skid to eight games with a 28-23 victory on Sunday in coach Gary Kubiak's return from a mini-stroke.
McGloin was 18 of 32 for 197 yards in place of an injured Terrelle Pryor. Houston's Case Keenum, also an undrafted free agent, was benched after Houston's offense stalled in the third quarter.
McGloin threw touchdown passes of 5, 16 and 26 yards to help the Raiders score their most points of the season.
Kubiak wasn't on the sidelines, instead coaching upstairs from the booth on doctor's orders two weeks after collapsing at halftime of Houston's game against Indianapolis.
He benched Keenum for Matt Schaub with Houston trailing by 11 points. Houston cut the lead with two field goals in the fourth quarter and had a chance to take the lead late. But Schaub's pass to Andre Johnson on fourth down from the 8 was broken up in the end zone.
Johnson and Schaub were yelling at each other on the field after the play and the screaming match continued on the sidelines, a clear indication of the frustration on a disappointing team that was supposed to contend for a Super Bowl.
It was the first time since 2011 that two undrafted free-agent quarterbacks have started in the same game. The last time came when Kansas City's Tyler Palko met Chicago's Caleb Hanie on Dec. 4, 2011.
Kubiak replaced Keenum with Schaub after Houston's first three drives of the second half all ended in punts. Schaub was terrible early this season and hadn't played since Oct. 13, after he was benched following an injury.
Keenum threw for 170 yards with a touchdown and an interception. Schaub had 155 yards passing.
Houston punted on his first drive before settling for a 26-yard field goal on the second when the offense stalled after getting a first down at the 10.
A 30-yard field goal cut the lead to 28-23 with about eight minutes remaining.
Rashad Jennings, who was filling in for the injured Darren McFadden, extended Oakland's lead to 28-17 when he plowed over D.J. Swearinger and rumbled 80 yards for a touchdown with 2:26 left in the third quarter. It was the longest run of his career and he finished with 150 yards rushing.
The Raiders regained the lead when Mychal Rivera grabbed a 26-yard touchdown reception to make it 21-17 in the third quarter.
Keenum scrambled to escape the grasp of Lamarr Houston and launched a 42-yard touchdown pass to Garrett Graham to cut the lead to 14-7 early in the second quarter.
Houston tied it at 14 when Keshawn Martin let a punt bounce off the grass and his chest before scooping it up and dashing 87 yards for a touchdown about three minutes before halftime. He zigzagged to escape the first wave of defenders and outran several Raiders before punter Marquette King almost caught him just before he crossed the goal line. It was the longest punt return for a score in franchise history.
Randy Bullock made his first field goal of 50 or more yards with a 51-yarder to give Houston a 17-14 lead just before halftime.
Graham had the ball stripped by Charles Woodson and fumbled after a catch on Houston's first drive. Phillip Adams recovered it and 26 yards.
McGloin's first career touchdown came when he hit Denarius Moore on a 5-yard slant to put Oakland up 7-0.
Houston's second miscue came when Keenum threw his first career interception as he was being hit by Stacy McGee. It broke a streak of 105 pass attempts without an interception for Keenum.
The Raiders immediately took advantage of the error when McGloin connected with Rod Streater for a 16-yard touchdown on the next play to make it 14-0.
NOTES: Former Presidents George H. Bush and George H.W. Bush were on the field before the game and the younger Bush did the coin flip. ... McGloin is the 17th quarterback to start for the Raiders since the start of the 2003 season.
Copyright 2013 by The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.