Credit: The Associated Press

Michigan State's Alvin Ellis III, (3) shoots between Wisconsin's Bronson Koenig, left, and Frank Kaminsky during the first half of an NCAA college basketball game on Sunday, Feb. 9, 2014, in Madison, Wis.

MADISON, Wis. — Traevon Jackson hit a pull-up jumper with 2.1 seconds left for Wisconsin, seconds after Michigan State's Adreian Payne tied it with a 3, and Wisconsin beat the ninth-ranked Spartans 60-58 on Sunday.

The Badgers (19-5, 6-5 Big Ten) committed 14 turnovers, six more than their NCAA-leading 8.3 per game, but gutted out a win over the Spartans (20-4, 9-2).

A desperation 3 by Michigan State from midcourt banged off the rim as time expired, and the Wisconsin faithful erupted with applause. The victory snapped a three-game losing skid at home.