A Boston officer shot and wounded in pursuit of the marathon bombing suspects last week had to be resuscitated after his heart stopped and he lost his entire blood supply, but doctors and relatives on Sunday said he was emerging from sedation and expected to recover.

Massachusetts Bay Transportation Authority Officer Richard “Dick” Donohue Jr., 33, of Woburn, Mass., had served with the department for three years when he responded to a call Friday for assistance after a shooting at the Massachusetts Institute of Technology in Cambridge, officials said. They said it was not clear whether Donohue knew at the time that the MIT officer who had been shot and killed was a friend of his, Sean Collier.

Donohue emerged from his police car and exchanged fire with the suspects before he was shot in the right thigh, officials said. A bullet severed his femoral vein and artery, and Donohue began to bleed out, doctors said.

Thanks to some quick handiwork, officers doctors were able to give Donohue a transfusion, stop the bleeding and likely save his leg. “As a brother, fellow officer and American, I cannot describe the pride I felt in what Dick and other officers did that Friday morning,” said his brother Edward, a fellow policeman.