A homeowner in San Ysidro fired several shots at someone trying to break into a shed in the backyard, according to San Diego police.

Officers were called to Janse Way in a residential neighborhood east of Dairy Mart Road and west of Interstate 5, less than two miles north of the U.S.-Mexico border.

Just before 4:30 a.m., the homeowner heard something in the backyard.

He found the shed door partially opened. When he went to open the door, the suspect pushed the door and knocked the homeowner backwards, police said.

The homeowner had a gun and fired several rounds in the direction of the would-be burglar. It's not known if anyone was struck by a bullet, police said.

The suspect ran from the yard and has not been located.

Officers were searching a vehicle parked along a nearby street and put several items on the sidewalk near evidence collection bags.

Angelos Papazis/NBC 7

The home has been burglarized twice in the past so they have surveillance cameras installed, according to police.

One neighbor told NBC 7 that cars and sheds have been broken into in that neighborhood so often that residents bought surveillance cameras.

When he heard the gun shots, he said he knew what it was.

“I don’t wish for anybody to get hurt but I was like ‘I hope they got him’ because it’s been going on for awhile," the neighbor told us. He asked NBC 7 not to identify him by name.

No other information was available.

Please refresh this page for updates on this story. Details may change as more information becomes available.