BRAINTREE, Mass. -- A man who authorities say barricaded himself in a Massachusetts motel room after shooting a police officer in the face has been found dead.

The Boston Globe reported that Braintree Police Chief Paul Shastany said at a press conference early Saturday that the officer underwent surgery at a Boston hospital and is expected to survive.

Police officers and vehicles were stationed around the grounds of the Motel 6 in Braintree, just south of Boston.

Get Breaking News Delivered to Your Inbox

Police say officers were at the motel to check a person's warrant status Friday night when the person opened fire, hitting one officer. They say the officer has been hospitalized for surgery and is in stable condition with non-life-threatening injuries.

A man could be hurt over police radio transmittions as the incident unfolded saying, "shots fired, get on the ground. I'm hit, I'm hit!" CBS Boston reports.

When asked if he was alright, the officer responded, "I can't see out of my left eye. I think I got hit in the arm, but I'm good."

Witnesses say they heard at least three gunshots, possibly up to seven or eight.

The motel, which was full at the time, was evacuated, sources told CBS Boston.

"I was just watching TV and then I heard gunshots," one man who was saying in the hotel recalled. "And that was about it. I went outside and they had the guy trapped in the corner so I just got evacuated, kicked out of the room."

A man who answered a phone at the motel wouldn't talk and hung up.