ORLANDO, Florida (AP) -- Breshad Perriman scored on a 52-yard touchdown pass from Blake Bortles with 4:50 left in the fourth quarter to give No. 17 UCF a 23-20 win over South Florida Friday night, keeping the Knights on course for a conference title and BCS bid.

UCF (10-1, 7-0 American Athletic Conference) secured at least a share of the conference title. A victory against SMU next week will give the Knights the title outright and their first bid to the BCS.

And they beat the Bulls, despite committing five turnovers, including three by Bortles.