Border patrol agents called the police about a Brownsville man they say shot in the direction of undocumented immigrants.

Enrique Fernandez (Brownsville Police Department)

Enrique Fernandez, 56, was charged with unlawfully discharging a firearm Thursday.

Border Patrol agents had been responding to reports about undocumented immigrants entering Fernandez's property when they heard gunshots from the home, according to a federal complaint.

Fernandez told officials he'd seen two people near his land and fired three rounds into the air "to scare off all of the illegal immigrants he believed were around his property," the complaint said.

A Cameron County Sheriff's Office deputy found a revolver with three empty casings in the home, according to the complaint.

No injuries were reported.

Fernandez lives a few blocks from an elementary school, and both buildings lie within a mile of the U.S.-Mexico border.