(CNN) Former Boston Red Sox slugger David Ortiz, who was released from Massachusetts General Hospital last week, called his doctors, nurses and caregivers "some of the best teammates I have ever had."

Ortiz was shot in the lower back on June 9 while he was sitting on a crowded bar patio in Santo Domingo, Dominican Republic. The bullet perforated his intestines and internal organs before hitting his friend Jhoel Lopez in the leg.

Ortiz had surgery in the Dominican Republic before he was taken to Massachusetts General in Boston , where he underwent two additional procedures.

"My deep appreciation goes to John and Linda Henry, Tom Werner, Sam Kennedy and the entire Red Sox organization for arranging the Red Sox plane that took me back to Boston from Santo Domingo and their continuing assistance to me and my family," Ortiz said in a statement Monday.