A man has been charged after a stray bullet from a target practice session struck a woman who was outside her home in the Hamilton area, authorities said.

The incident happened around 3:30 p.m. Sept. 8 in the 39600 block of Gable Farm Lane in Hamilton, Va., about six miles outside Leesburg, according to the Loudoun County Sheriff’s Office.

When authorities responded, two men and two women who live in the area said they had been shooting at a berm on private property, according to Kraig Troxell, a spokesman for the sheriff’s office.

The injured woman was treated at the scene and did not need further medical attention, the sheriff’s office said. The woman had been outside with her family and children when she was grazed by a bullet, according to Troxell.

The weapons were recovered, and the incident remains under investigation.

On Monday, officials with the sheriff’s office said they had arrested and charged William R. Hymes III, 24, of Ashburn with reckless discharge of a firearm.

A Loudoun ordinance allows people to fire weapons within the county but prohibits using a firearm within 100 yards of a building “with a current occupancy permit” unless the owner has given permission.

It is also illegal to fire a gun within 100 yards of a park, school or “occupied building”; within 50 yards of a highway; or across a road and within a right of way, according to the ordinance.

Note: An earlier version of this article said Hymes was 34. He is 24. The mistake was due to information from the sheriff’s office.