AUSTIN, Texas (AP) -- Jerrod Heard threw an 84-yard touchdown pass to John Burt on Texas' first offensive play and D'Onta Foreman ran 93-yards for a third quarter score as Texas routed winless Kansas 59-20 Saturday night.
Tyrone Swoopes ran for four touchdowns for Texas (4-5, 3-3 Big 12), two in the fourth quarter. He also threw a 40-yard touchdown in mop-up duty in the Longhorns' highest-scoring game in two seasons, a week after being shut out by Iowa State.
Foreman's run was the third-longest touchdown run in Texas history.
More from FoxSports
Kansas (0-9, 0-6) has lost 37 in a row away from home. The Jayhawks have given up at least 58 points in three straight games
Kansas was within 24-14 late in the first half but had a drive end at the Texas 1 and the Jayhawks missed a short field goal on the final play.
Texas then finished off the Jayhawks with 35 straight points in a scoring burst the Longhorns hadn't seen in a long time.
Heard finished with 201 yards passing and 23 yards rushing, one of his best games since a 527-yard school record effort in a loss to California back on Sept. 12. Foreman finished with 157 yards rushing after gaining just 16 in the first half.
Swoopes scored two touchdowns on runs of 4 and 1 yards in the first half when the game was still close, then finished off the Jayhawks with a burst in the fourth quarter when the game turned into a Texas romp.
Ryan Willis led Kansas with 214 yards passing and one touchdown.
The Longhorns still need two wins in their final three games to qualify for a bowl in coach Charlie Strong's second season. The Longhorns play next at West Virginia, host Texas Tech on Thanksgiving and end the regular season at Baylor.
The scoring outburst will be a confidence boost for a Texas team that badly needed one and has struggled to keep up in the wild scoring of the Big 12. The Longhorns jumped to a 17-0 lead against one of the worst defenses in the country and survived a second-quarter surge from the Jayhawks.
Heard, who hadn't passed for more than 53 yards in three of the previous four games, threw over the top of the Kansas secondary for the long strike to Burt, who easily beat one-on-one coverage to haul it in. Swoopes' two short first-half touchdown runs made it 24-7 early in the second quarter.
Kansas had a chance to force a tie by halftime. De'Andre Mann, whose earlier touchdown pulled Kansas with 24-14, was stuffed at the Texas 1 on fourth down. Nick Bartolotta's 26-yard field goal bounced off the right upright as time ran out on the half.
Texas poured it on in the second half, starting with Foreman's long run. Foreman took the handoff, bounced around the left end and suddenly was in the clear all the way to the end zone. His touchdown on Texas' next drive put the Longhorns up by 24.
Swoopes replaced Heard at quarterback to start the fourth quarter and his first pass attempt was a 40-yard touchdown to Armanti Foreman. He added a 44-yard TD run, then scooped a fumble for another late touchdown.
MORE FROM FOX SPORTS SOUTHWEST: