Villarreal was wanted for attempted capital murder of a peace officer after firing at a Midland officer during a vehicle pursuit.