A Sharon sex offender who got into a gun battle after a bar brawl two years ago will spend the next 41 months in federal prison because, as a convicted felon, he isn't allowed to have a gun.

Ralph Samuels, 50, was sentenced to that term on Friday in U.S. District Court. On Oct. 13, 2012, Samuels engaged in a shootout with a Farrell man, Daniel Odem, on Emerson Avenue in Farrell following an earlier fight at Rockabilly's Bar. Both men were wounded in the exchange, and some bullets hit a nearby house.

Samuels gave the gun he used to a friend, who threw it onto a roof, but police found the weapon and recovered his DNA from it.

Samuels isn't allowed to have a gun because of a 2000 conviction on counts of corruption of a minor in Ohio.