A Rancho Cucamonga homeowner fired a .45-caliber pistol at a burglar climbing through a window, and deputies later arrested three suspects, all kids, sheriff’s officials say.

The break-in was reported shortly after 9:30 a.m. Monday, Sept. 8, along the 9500 block of Harvest Vista Drive.

The homeowner told deputies that the burglars knocked on his front door and — when he didn’t answer — they went to the side of the house and removed a window screen.

“The homeowner … fired a shot from a .45-caliber handgun at the subject that was coming through the window,” investigators said in a written statement. “The suspect was not hit and fled over a back wall into Golden Oak Park.”

Deputies soon arrested three juveniles matching the burglars’ description. The three kids live in Ontario and attend Valley View School, according to the statement. All were booked into San Bernardino Juvenile Hall for investigation of burglary.