Duke senior forward Ryan Kelly will undergo surgery to repair the right foot he initially injured in January and will be sidelined 12 weeks, the school announced.

Under that timeline, Kelly will be fully recovered just before the NBA draft, which is June 27. Kelly missed 13 games with his foot injury, but returned in March and helped lead the Blue Devils to an appearance in the Elite Eight, where they lost to eventual national champion Louisville in the Midwest Region final.

Ryan Kelly figures to be 100 percent just before the NBA draft on June 27. (AP Photo)

“Ryan has been a terrific member of the Duke program throughout his career and has a bright professional future,” coach Mike Krzyzewski said in a statement. “He showed amazing courage playing during the last part of our season leading us to the Eight Eight. With this surgery Ryan is expected to return to 100% and pursue his dream of playing in the NBA.”

Kelly turned in one of Duke’s all-time great performances upon his return to the court March 2 against Miami, where he scored a career-high 36 points in a 79-76 home win over the Hurricanes. For the season, the 6-11 Kelly averaged 12.9 points and 5.3 rebounds.

“We were all privileged to see one of the performances for the ages, I think, by Ryan Kelly,” Krzyzewski said after Kelly's jaw-dropping performance vs. the Hurricanes. “Me saying spectacular or whatever doesn’t do his performance justice. One for the ages. Probably as good of a performance as any Duke player has had in Cameron.”