An officer with the Boston Police Department was shot on Sunday, but did not suffer life-threatening injuries, according to the Boston Herald.

Boston police Commissioner William Gross said that the shooting underscores the danger of the job and callous attitude faced by police.

Gross said the officers—members of the department's youth violence strike force—came upon a group of subjects sitting on a stairway.

"Upon seeing police, the men got to their feet and grabbed at their waists," according to the Herald.

The men then reportedly barricaded themselves in an apartment. When officers entered, they were immediately fired upon.

One officer—who has not yet been identified—was struck. He was transported to a nearby hospital with non-life-threatening injuries.