ONTARIO >> When Ontario police were called to Laurel and H streets early Sunday morning for reports of a man with a gun, they were surprised to find that a homeowner managed to stop and hold an alleged burglar at gunpoint after the man reportedly tried to break into his home, police said.

Officers found the elderly homeowner, armed with his shotgun, holding 27-year-old Eric Valdez Contreras of Ontario in the 200 block of West J Street, according to a police statement.

Police learned that around 12:30 a.m., the homeowner and his wife were awoken by the sound of someone trying to get into their home, police said.

The suspect, later identified as Contreras, forced open a bedroom window and was allegedly trying to get into the home, according to officials.

The homeowner armed himself with a shotgun and chased Contreras away from his home, through his yard and onto the street. At one point, Contreras reportedly turned toward the homeowner and approached him in a threatening manner, police said.

Fearing for his life, the homeowner fired a warning shot from his shotgun and Contreras quickly surrendered. The homeowner then held the 27-year-old at gunpoint until officers arrived.

No one was hurt during the incident.

Through an investigation, officers discovered Contreras was wanted for two outstanding warrants for driving under the influence. He was booked at the West Valley Detention Center on suspicion of burglary.