HOUSTON — Jonathan Dimas kicked a 50-yard field goal with one second remaining as time expired, lifting No. 18 Houston to a 30-27 win over Baylor on Saturday night at TDECU Stadium.

Baylor had taken a 27-20 lead with 1:26 left when Caden Knighten scored on a 9-yard run and DJ Lagway added the two-point conversion. Houston answered with a 42-yard touchdown pass to Koby Young with 1:02 remaining to tie the game at 27-27.

After Baylor punted with 29 seconds left, Houston drove to the Baylor 31, helped by a 26-yard completion to Amare Thomas with six seconds remaining. Dimas then split the uprights from 50 yards as the clock hit zero, setting off a celebration on the Houston sideline.

Houston opened the game with a 14-0 first-quarter lead on a 23-yard touchdown run by Makhi Hughes and a 1-yard scoring run by Keisean Henderson, but Baylor chipped away. Dimas also kicked field goals of 25 and 32 yards, while Baylor's Rhett Armstrong added a 29-yard field goal in the fourth quarter.

The win improved Houston to 9-3, while Baylor fell to 6-6.