He was on bail for possession of a loaded firearm in a vehicle