AMES, Iowa -- Trevone Boykin scored on a 1-yard TD run with 38 seconds left and TCU rallied to beat Iowa State 21-17 on Saturday and snap a three-game losing streak.
Boykin ran for three touchdowns for the Horned Frogs (4-6, 2-5 Big 12), who remain in contention for possible bowl eligibility with two games left.
The Horned Frogs went 58 yards in just 1:56 -- a drive keyed by a 22-yard run from Aaron Green on 4th-down-and-1 -- and took a four-point lead on their only score of the second half.
Grant Rohach threw for 148 yards for Iowa State (1-8, 0-6), whose last-ditch effort ended near midfield. The Cyclones have lost six straight.
Casey Pachall threw for 245 yards for TCU.
But he also nearly threw the game away midway through the fourth quarter.
Pachall drove TCU from its own 1-yard line to the Iowa State 23 with consecutive completions to Brandon Carter and LaDarius Brown. But Jevohn Miller drilled Carter on a third-down play to force out the ball, and Jeremiah George's interception kept the Horned Frogs from a potential game-tying field goal.
Iowa State gave TCU one last chance at its own 42-yard line with 2:34 to go after a poor punt from Kirby Van Der Kamp.
Green's 22-yard run put the Horned Frogs at the Iowa State 27. He later got them to the 3-yard line with a 17-yard run, setting up Boykin's game-winner.
Green finished with 72 yards on 19 carries.
The Cyclones went into halftime trailing for the fourth game in a row.
DeVondrick Nealy brought Iowa State even with one of the team's biggest plays of the season.
Nealy broke a pair of tackles en route to a 98-yard kickoff return -- second-longest in school history -- to open the second half.
That return sparked the Cyclones, who took their first lead in a month, 17-14, on Cole Netten's 35-yard field goal late in the third quarter.
But Iowa State finished with just 283 yards on 82 plays.
The Cyclones had a gusty wind at their backs to open the game -- and gained just 15 yards during four consecutive three-and-out drives.
But Van Der Kamp gave the Cyclones a spark with a 25-yard completion to Justin Coleman on a fake punt. Iowa State then put in Richardson, and he took his first snap 15 yards to tie the game at 7-7.
TCU answered immediately. A 33-yard completion from Pachall to Carter was upheld after an Iowa State challenge, and Boykin's second carry of the game resulted in his second TD, a 3-yarder that made it 14-7 Horned Frogs with 9:51 left in the first half.
Boykin, who opened the scoring with an 18-yard TD run, also had four catches for 24 yards as the Horned Frogs bounced back from a brutal overtime loss to West Virginia with their first road win.
Follow Luke Meredith on Twitter: www.twitter.com/LukeMeredithAP
Mario Cristobal introduced as new Miami Hurricanes football coach: 'It's time to go to work'
Mario Cristobal, a Miami native who won two national championships at the school as a player, was introduced as the Hurricanes' new head football coach on Tuesday. "This is just the beginning," he said.
LSU Tigers starting quarterback Max Johnson to enter transfer portal
Max Johnson, who has been LSU's starting quarterback since late last year, announced Tuesday that he plans to enter the transfer portal, while his brother, Jake, a prized tight end prospect, said he was opening up his recruitment.
Fresno State Bulldogs nearing deal to hire Jeff Tedford as football coach, sources say
Fresno State is nearing an agreement to hire Jeff Tedford as its next football coach, sources told ESPN, confirming a report by Yahoo! Sports. Tedford previously coached the Bulldogs from 2017 to '19 before health issues forced him to step aside.
College football coaching carousel: Latest buzz, top candidates, analysis of every vacancy
From Notre Dame and Oklahoma to Miami and Oregon, it's already been a wild ride on the coaching carousel. Here's everything you need to know.
Ohio State Buckeyes hire Oklahoma State's Jim Knowles as defensive coordinator
Ohio State has hired Oklahoma State defensive coordinator Jim Knowles, a Broyles award finalist this year, for the same job.
Meet the 2021 Heisman finalists
Relive some of the top highlights that made Bryce Young, C.J. Stroud, Kenny Pickett and Aidan Hutchinson this year's Heisman finalists.