LOS ANGELES (CBSLA) – Los Angeles won’t be able to pull the trigger on a law passed nearly a year ago that would have required companies bidding for city contracts to reveal any links with the National Rifle Association.

The City Council voted 12-0 Tuesday to repeal the ordinance, which was passed in Feb. 2019 requiring the disclosure of contracts or sponsorships with the NRA, according to the Los Angeles Times. The ordinance did not ban NRA-connected companies from doing business with the city.

READ MORE: Single-Engine Plane Catches Fire After Crash Near Big Bear City Airport

The NRA originally sued the city in April, alleging the disclosure requirement violates the First Amendment and contends the ordinance was passed with the intent to silence the “NRA’s voice, as well as the voices of all those who dare oppose the city’s broad gun-control agenda.”

READ MORE: Several Cows Escape From Meatpacking Plant In Pico Rivera, 1 Killed By Deputies; At Least 1 Person Injured

Last month, a federal judge blocked the city from enforcing the ordinance.

MORE NEWS: Huge Waves, High Tides Raises Fears Of Coastal Flooding In Newport Beach

The city’s decision to repeal follows similar action by San Francisco in September, when Mayor London Breed moved to negate a City Council-backed resolution that called for an investigation of ties between San Francisco contractors and vendors and the NRA. The resolution also controversially declared the NRA a “domestic terrorist organization”.