A man suspected of breaking into a North Hollywood home on Wednesday was shot in the legs by a house sitter during a confrontation, police said.

Officers responded to the residence in the 4300 block of Willowcrest Avenue around 6:30 p.m. after a suspect forced entry into a home by breaking either the front or side door, according to the Los Angeles Police Department.

The person inside the home was housesitting for a family member, said police. According to police, the victim confronted the suspect, which led to a physical confrontation.

During the altercation, the suspect reportedly threw an e-bike at the victim. The victim then shot the suspect in the legs with a .40 caliber firearm, police said.

About 20 minutes later, after the first burglary call, officers responded to another call to a nearby location about a person who had been shot. Here, investigators confirmed the individual was the suspect from the break-in.

Details about the suspect were not immediately released.