One of the men accused of beating another man to death outside a Midtown mental health building last fall was sentenced Friday after changing his plea.

Matthew Martin pleaded guilty to a charge of robbery with the intent to cause serious injury, receiving a sentence of eight years with four years suspended from Superior Court Judge Michael Wolverton.

Martin and three other men -- David Walent, Jerrick Blankenship and Martin's brother, Lewis Martin -- originally faced second-degree murder and first-degree robbery charges in the death of 50-year-old Ferdinand Marquez after a Sept. 26 beating outside a Tudor Road clinic operated by Anchorage Community Mental Health Services.

The attack was caught on tape, and Martin's lawyer says video shows Martin trying to stop the attack. Prosecutors, however, said the video shows Martin did punch and kick Marquez, as well as rummaging through his backpack.

Wolverton says the community needs to recognize the importance of each and every life lost.

“It’s a tragic insult to the community,” Wolverton said. “We get almost immune -- imagine that, we get almost immune -- to the number of people who are beaten to death.”

Martin will also have to pay restitution in the case.