A 21-year-old man convicted of fatally shooting a man who had broken up a fight at a Bowie barbecue in 2010 was sentenced to 60 years in prison, authorities said Wednesday.

Thomas T. Tyler, of Temple Hills, had been convicted of conspiracy to commit first-degree murder in connection with the June 2010 slaying of Aaron Leach, authorities said. Prosecutors said Tyler came uninvited to a Bowie barbecue where Leach was hanging out and got into an argument with people there. After Leach stepped in to mediate the dispute, Tyler got a handgun, came back and opened fire — fatally wounding Leach and seriously hurting two others, prosecutors said.

Prosecutors said Tyler bragged about the crime after it occurred. He was convicted after a four-day trial late last year, prosecutors said.