A homeowner shot and wounded a man during a break-in at a house near Pasadena on Wednesday afternoon, authorities said.

The incident unfolded just before 3:30 p.m. in the 3600 block of Grayburn Road, just west of Rosemead Boulevard, in the unincorporated county area of East Pasadena, Los Angeles County Sheriff’s Department officials said.

Deputies first received a 911 call reporting someone was trying to break into a home, Deputy Ed Luna of the Sheriff’s Information Bureau said.

As they arrived, they received a second call informing them that someone had been shot at a home three doors down from the initial call, he said. A man was found inside a nearby home with at least one gunshot wound to his “upper torso.”

“The preliminary information that we have is that the the homeowner saw the person come into the house, warned the person that they had a gun,” Luna said. “The person continued to enter the house, therefore, the homeowner shot the suspect.”

The man who opened fire on the suspect was at home with his two children, officials said.

Paramedics took the wounded suspect to a hospital. An update on his condition was not available.

Sheriff’s officials asked the public to avoid the area, including Rosemead Boulevard between Huntington Drive and Del Mar Avenue, as the investigation continued.