Seems he was more than just a thief with that gun there. Probably been a wanted man for God knows what.
He probably used that gun to rob people and they left it with him, hoping the thief killed someone with it and ballistic will point out that what they murdered is a thief and a killer.