Oregon has enacted what its governor calls America’s first new gun law since a school shooting in Florida prompted a national push for tougher restrictions.

First proposed shortly before a gunman killed 17 students and teachers at Marjory Stoneman Douglas High School in Parkland, Florida, the new law prohibits people convicted of domestic violence or stalking from owning guns.

“I’m hopeful the tide is turning on our nation's gun debate, and that we now have the chance to enact meaningful change”, Oregon Governor Kate Brown said in a statement after signing the measure into law.

While student survivors of the Parkland massacre and gun control advocates have pushed for a ban on assault-style weapons, including the AR-15 model the Florida assailant used, measures to keep guns away from unstable people have better odds of winning Republican votes.

In Florida, both the Republican-controlled state legislature and Republican Governor Rick Scott have advocated giving courts the power to strip guns from people deemed to pose a threat to themselves or others. Legislators have also advanced a measure to arm trained and vetted teachers, an idea Mr Scott has rejected.

Florida shooting – in pictures Show all 10 1 /10 Florida shooting – in pictures Florida shooting – in pictures Police arrest a suspect in connection with the shooting at the Marjory Stoneman Douglas High School in Parkland, Florida Reuters Florida shooting – in pictures Parents wait for news after reports of a shooting at Marjory Stoneman Douglas High School in Parkland, Florida AP Florida shooting – in pictures Anxious family members wait for news of students AP Photo/Wilfredo Lee Florida shooting – in pictures Students being evacuated from the school AP Florida shooting – in pictures Students being evacuated from the school Getty Florida shooting – in pictures People gather waiting for word from students AP Florida shooting – in pictures Parents waiting for news on their children AP Florida shooting – in pictures People gather at a hotel where students were taken after the shooting Getty Florida shooting – in pictures Florida Governor Rick Scott speaks to the media as he visits Marjory Stoneman Douglas High School following the shooting AFP/Getty Florida shooting – in pictures Dr. Igor Nichiporenko, Medical Director Trauma, left, and Dr. Evan Boyer, Medical Director, Emergency Services, speak about treating victims and the suspect at a press conference outside Broward Health North hospital AP

Donald Trump shocked the political world and defied his political allies last week in calling for firearms to be preemptively taken from people.

“Take the guns first, go through due process second”, Mr Trump said.

Donald Trump at school safety meeting: 'take the guns first, go through due process second'