ATLANTA — The slaying of nearly five dozen people in Las Vegas did little to change Americans’ opinions about gun laws.

The nation is closely divided on whether restricting firearms would reduce such mass shootings or homicides, though a majority favor tighter laws as they have for several years, according to a new poll from The Associated Press-NORC Center for Public Affairs Research.

The massive divide on stricter limits remains firmly in place.

The survey was conducted from Oct. 12-16, about two weeks after 64-year-old Stephen Paddock fired on a crowded music festival taking place across the street from his hotel room, killing 58 and wounding more than 540 before killing himself.

In this latest survey, 61 percent said the country’s gun laws should be tougher, while 27 percent would rather see them remain the same and 11 percent want them to be less strict. That’s similar to the results of an AP-GfK poll in July 2016.

Nearly 9 in 10 Democrats, but just a third of Republicans, want to see gun laws made stricter.

About half of Americans said they think making it more difficult to buy a gun would reduce the number of mass shootings in the country, and slightly under half said it would reduce the number of homicides.

About half felt it would reduce the number of accidental shootings, 4 in 10 that it would reduce the number of suicides and only about a third felt it would reduce gang violence.

There are indications of a generational divide on the issue. Most of those in the survey who are younger than 30 said they believe stricter gun laws would result in fewer mass shootings, homicides and accidental shootings.

The poll also found that a majority of Americans disapprove of how President Trump is handling gun control. Trump is the first president since Ronald Reagan to address the annual meeting of the National Rifle Association.