(CNN) The National Rifle Association is suing the state of Florida after Gov. Rick Scott signed Senate Bill 7026 into law Friday, the first gun control legislation enacted in the state after the Parkland school massacre on February 14.

The NRA suit focuses on the part of the law that raises the minimum age to purchase a firearm to 21 from 18.

"This bill punishes law-abiding gun owners for the criminal acts of a deranged individual," executive director of the NRA Institute for Legislative Action Chris W. Cox said. "Securing our schools and protecting the constitutional rights of Americans are not mutually exclusive."

Seventeen people were killed at Marjory Stoneman Douglas High School when a 19-year-old man with a semi-automatic military-style rifle opened fire.

The lawsuit, filed in the Northern District of Florida, says the age minimum section of the new law violates the second and 14th amendments of the US Constitution.

Read More