(Jonathan Newton/The Washington Post) (Jonathan Newton/The Washington Post)

Former Maryland center and anticipated NBA lottery selection Alex Len underwent successful surgery to stabilize a partial stress fracture in his left ankle, his agency Sports International Group announced Friday afternoon.

The surgery, agent Michael Lelchitski said, will preclude Len from all on-court activities leading up to the 2013 NBA draft, scheduled for Thursday, June 27, at Brooklyn’s Barclays Center. Len will be sidelined for four to six months, certainly through summer league and possibly through NBA preseason.

“The tough part about Alex’s injury is the timing,” Lelchitski said in a release. “Everyone who knows Alex knows that he would have been incredible in the pre-draft workout setting. However, Alex is one of the elite prospects with arguably the biggest upside of anyone in the draft. The most important thing is his long-term health.”

Dr. Robert Anderson in Charlotte performed the surgery. The release said Len was diagnosed with the partial stress fracture after declaring for the draft, though Coach Mark Turgeon said throughout the postseason that ankle injuries had hobbled the 7-foot-1 center.

“This was a preventative measure to stabilize a partial stress fracture of the ankle,” Anderson said. “Although it is possible that this injury could have healed on its own, surgery was felt to be the safest and surest option to ensuring a long and successful NBA career for Alex. His prognosis is excellent, and I anticipate he’ll make a full return to basketball within the next few months.”

Projected generally between fifth and seventh by most prominent mock draft forecasters, Len’s surgery could hamper his stock, especially since he won’t work out for teams. The release said Len opted for surgery after consulting several orthopedic specialists.

“I decided that surgery was the best long term option for my career,” Len said. “I didn’t want to risk it not healing properly. I want to make sure I’m fully healthy and ready for training camp.”