GAINESVILLE, Fla. (AP) - Kyle Ahrens scored Michigan State's final seven points, including a two-handed jam with 8.7 seconds remaining, and the No. 10 Spartans beat Florida 63-59 on Saturday.

Ahrens barely beat the shot clock with his baseline slam, giving the Spartans the final points in a game the Gators made close thanks mostly to freshman Andrew Nembhard late.

Florida (5-4) cut Michigan State's lead to 56-53 on KeVaughn Allen's 3-pointer with 3:24 to play, but Ahrens answered from the corner on the other end. Ahrens added a reverse layup on the Spartans' next possession.

The Gators forced a missed shot and a turnover, getting a chance to tie the game. But Allen missed an off-balanced shot going to the rim with 43 seconds to play.

Ahrens delivered the knockout blow on the other end, driving the baseline and stuffing one home.

Xavier Tillman led the Spartans (8-2) with 14 points and nine rebounds off the bench. Joshua Langford and Nick Ward added 13 points apiece for Michigan State, which finished with a season low in points.

Tillman and Ward combined to make 12 of 15 shots, most of them in the paint.

Nembhard and Allen led the Gators with 13 each. Nembhard made four of Florida's last seven baskets and had assists on two others.

THE TAKEAWAY

Michigan State: The Spartans answered every Florida run. The Gators cut the lead to three late in the first half, and Cassius Winston hit a floater in the lane. Florida got it to four three times in the second half and Michigan State responded each time.

Florida: Coach Mike White admittedly has a team built to shoot 3-pointers, and the Gators are tough to beat when they make them. But they missed 16 of 21 against the Spartans, getting few open looks.

RETURN TRIP

Michigan State's visit completed a home-and-home series that opened in East Lansing three years ago. The return trip was pushed back because of renovations to the O'Connell Center in 2016 and then due to the Big Ten's conference scheduling changes last year.

FAMILIAR FACES

Former Florida players Teddy Dupay, Casey Prather and Kasey Hill were in attendance.

UP NEXT

Michigan State takes a break before beginning a four-game homestand against Green Bay on Dec. 16.

Florida gets a short layoff for final exams before hosting Mercer on Dec. 18.