The Harvard men’s basketball program will be in a good place next season regardless of any changes that take place.

The greatest season in Crimson history (27-5) ended in a hard-fought loss to perennial power Michigan State in the third round of the NCAA tournament at Spokane Veterans Memorial Arena.

The Crimson rallied from a 16-point second-half deficit to take a 62-60 lead on Laurent Rivard’s 3-pointer with 7:11 to play. But MSU pulled away after a barrage of 3-point shots of its own and advanced to the Sweet 16 with an 80-73 victory.

“I thought our kids competed and we knew they would,” said Harvard coach Tommy Amaker. “I think we are a ballclub that people recognized that it’s a darn good basketball team.

“It was just a wonderful effort by our team. But certainly you’ve got to play perfect basketball to pull out a game like that being in the deficit that we were.”

Amaker’s future at Harvard was a topic of discussion here all week. He is a strong candidate for the vacant Boston College post. Steve Donahue was fired by athletic director Brad Bates last week.

Amaker declined to discuss his future following the games and insisted he was happy with his current employer.

Harvard will lose three key seniors who contributed heavily to the Crimson’s run of four straight Ivy League titles, three NCAA appearances and tournament wins over quality opponents each of the past two seasons (New Mexico last season and Cincinnati on Thursday).

Rivard leaves the school as its career leader in 3-pointers (287) and games played (123). The Crimson will also lose splendid combo guard Brandyn Curry and forward Kyle Casey.

But Harvard returns a nucleus of key players that could produce another Ivy title. Junior wing Wesley Saunders was the Ivy League Player of the Year while sophomore point guard Siyani Chambers, the 2013 Rookie of the Year, is the premier ballhandler in the conference.