No. 17 Illinois fought back from a double-digit second-half deficit to force overtime and take down No. 2 Texas, 85-78, at Madison Square Garden on Tuesday night.

The win marked the program's first victory over a team ranked in the top two of the AP poll since March 2, 2021, and the contest was part of the Jimmy V Classic in New York City.

Matthew Mayer scored a season-high 21 points, including five 3-pointers, which tied his career high. Terrence Shannon Jr. scored 12 of his 16 points in overtime, his eighth double-figure scoring performance this season.

Jayden Epps registered 11 points, including the Illini's final five points of the second half to send the game to overtime.

Illinois recorded a season-high 12 blocks in the win, with Mayer, Coleman Hawkins, and Sencire Harris all tallying at least two.

After Mayer opened the scoring with a 3-pointer, the two sides traded baskets. An 11-3 run midway through the first half that included three Illinois triples pushed the Illini advantage to four with under eight minutes to play in the opening frame.

Illinois closed the first half on a 9-3 run and held a narrow 37-34 lead at the break. Mayer led all scorers with a season-high 15 points, on 6-for-6 shooting, and Hawkins notched seven in his 19 minutes of first-half action.

The Illini clawed their way back from a double-digit deficit with eight minutes remaining in the second half. A 10-2 run cut Texas' lead to two, via seven points from RJ Melendez, with under five minutes to play. With the Illini down by five with one minute to play, Epps scored the final five points of the game in regulation to force overtime for the first time this season.

Shannon scored eight of Illinois' first nine points in overtime en route to a seven-point Illini lead with just over two minutes to play.

Illinois fended off a late Texas push with an 8-2 run, and the Illini ultimately picked up its second top-10 win of the season.

The Illini return to State Farm Center on Saturday afternoon for their Big Ten home opener against Penn State. Tipoff is scheduled for 11 a.m. on Big Ten Network.