LEXINGTON, Ky. -- Kentucky basketball coach John Calipari is recovering from right hip replacement surgery on Friday, the school said.

On the athletic department's Twitter account, it said Calipari "is out of hip surgery and recovering. All went well. Thank you for the thoughts and prayers for him." Calipari said recently that he was under the care of one of the city's best hip doctors.

Since midseason, Calipari had alluded to needing the surgery to relieve pain and discomfort that could be seen on his face and in a noticeable limp as he walked the sidelines during games. During last month's Final Four, the coach sometimes called out plays while sitting on a stool on the elevated floor above the Wildcats' bench.

ESPN.com, citing sources, reported earlier this week that Los Angeles Lakers officials intend to reach out to Calipari to at least gauge his interest in their opening after coach Mike D'Antoni resigned.

Information from The Associated Press was included in this report.