Two men who fired gunshots and wounded a man as they attempted to burglarize a Southeast Washington apartment in 2010 were sentenced to more than 10 years in prison, authorities said Friday.

Robert Hagood, 33, and Marquet Bryant, 29, were sentenced to17 1/2 and 12 1/2 years, respectively. They were found guilty of attempted first -degree armed burgalry, assault with a dangerous weapon and other offenses in D.C. Superior Court in November, authorities said.

The night before Thanksgiving in November 2010, Hagood and Bryant were outside an apartment complex in the 300 block of Anacostia Road SE when Hagood got into an altercation with a neighbor entering the building, authorities said. Hagood and Bryant then broke into the neighbor’s apartment, just a floor below their own apartments, with a revolver drawn.

After people inside forced the men back out the door, Hagood shot through the door, injuring one. Hagood and Bryant managed to get back inside the apartment, authorities said, resulting in a fight before Bryant fired a shot. It hit the ceiling, and both men fled.

Hagood was sentenced Friday. Bryant was sentenced Jan. 30, authoritie said.

Read more: The Post’s crime coverage