The Latest on Pittsburgh's effort to restrict firearms and ammunition (all times local):

2:15 p.m.

A lawsuit backed by the National Rifle Association has been filed in opposition to Pittsburgh's new gun control laws.

Four Pittsburgh residents are suing the city, Mayor Bill Peduto and the City Council. The suit says the legislation Peduto signed into law Tuesday infringes on the people's right of self-defense and will do nothing to prevent mass shootings like the one that killed 11 at Pittsburgh's Tree of Life Synagogue last fall.

A coalition of gun rights groups filed a separate suit seeking to block the laws from taking effect. Both suits were filed in Allegheny County.

Peduto and City Council members say they expected to be sued and are pledging to fight.

___

12:30 p.m.

Pittsburgh's mayor has signed gun-control legislation passed by City Council in response to the synagogue massacre.

Opponents immediately filed suit Tuesday to block it.

Democratic Mayor Bill Peduto signed the legislation into law in a ceremony at the City-County Building. He says the community has come together "to say enough is enough."

Pennsylvania law prohibits local regulation of guns and ammunition, and a coalition of gun-rights groups filed a lawsuit minutes after Peduto signed the bills.

The legislation restricts military-style assault weapons like the AR-15 rifle that authorities say was used in the rampage at Tree of Life Synagogue that killed 11 and wounded seven. It also bans most uses of armor-piercing ammunition and high-capacity magazines, and allows the temporary seizure of guns from people who are determined to be a danger to themselves or others.