It began about 9:45 Wednesday night. Sheriff's detectives said a patrol deputy assigned to the Lamont Substation pulled over a 1990s Honda sedan for a license place violation in the east alley of Main Street at Bonita Road in Lamont.
After the driver stopped the vehicle, detectives said he jumped out and ran away on foot.
The deputy ran after the suspect, at which time detectives said the suspect fired one round at the deputy. The deputy was not hit and did not return fire.
At that point, additional deputies were called in and set up a perimeter. Deputies then began searching businesses and homes in the area. At 11:45 p.m., deputies found the suspect hiding near the back of a tire store. As deputies approached, they said the suspect fired a round at them. One deputy returned fire. None of the deputies were hit.
The man then ran away again.
The sheriff's SWAT team was called out.
After dawn, the sheriff's department notified the Lamont school district of the search. The district decided to cancel all classes for the day due to safety concerns.
Hours later, Aguilar was found in a trailer and a SWAT standoff ensued. Aguilar allegedly shot at deputies for a third time. Deputies returned fire and killed Aguilar.
The deputies involved in the shootings have been placed on routine administrative leave.
No deputies or bystanders were hurt in any of the shootings.