ALEXANDRIA, Va. (AP) — The governing body of northern Virginia’s largest city has voted unanimously to ban firearms on all public property.

The Alexandria City Council voted unanimously for the ordinance after a public hearing Saturday.

READ MORE: First Alert Forecast: Severe Thunderstorms May Move Into The Area Monday

The new law takes effect July 1 and bars firearms and ammunition from all city facilities and parks.

The city had a similar ordinance in the 1990s but a state law passed in 2002 barred localities from regulating firearms in their facilities.

That law was overturned by the General Assembly this year.

READ MORE: Van Hollen Suffered Minor Stroke In Western Maryland Over The Weekend

Alexandria said it is the first city Virginia to ban firearms under the new law.

Gun-rights activists had occasionally conducted open-carry rallies at City Hall.

A rally organized last week by the Virginia Citizens Defense League in opposition to the proposed law drew more than 200 participants.

MORE NEWS: Up To $16K Reward Offered For Tips About Murder Of East Baltimore Pregnant Woman And Fiancé

(© Copyright 2020 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)