charged with a felony for the theft of a vehicle and a misdemeanor for resisting a peace officer