Two teenage boys were shot Monday evening when a man spotted them trying to break into his car outside a southeast Atlanta Waffle House, authorities said.

Officers were called to the intersection of Flat Shoals and Fayetteville roads about 10:30 p.m. to tend to the injured boys, Atlanta police spokesman Officer Steve Avery said. Each had a gunshot wound to the leg.

According to investigators, the teens were trying to break into a car at the Waffle House on Memorial Drive when the vehicle’s owner, 32-year-old Bryant Mayner, noticed and came outside.

Mayner pulled out a gun and began shooting toward his vehicle, striking the 13-year-old and 14-year-old, Avery said. The teens managed to run away from the scene but were later found at an intersection and taken to the hospital.

Police detained Mayner and charged him with aggravated assault, authorities said.

The teens, who were not identified, were also charged with entering auto and violating curfew, authorities said.