On Oct. 1, 2017, a gunman on the 32nd floor of the Mandalay Bay resort in Las Vegas killed 58 people and shot and wounded nearly 500 others at a music festival. He fired more than 1,100 rounds in 10 minutes and rained down such carnage by using a simple device called a “bump stock,” which turned 14 of his semiautomatic rifles into de facto machine guns.

On Tuesday, the Trump administration imposed a promised bump stock ban. At a Justice Department briefing, an unnamed senior official said owners of the devices have until late March to either destroy them or turn them in to the Bureau of Alcohol, Tobacco, Firearms and Explosives without compensation. Given that as many as 520,000 bump stocks have been sold since 2010, it’s unlikely all will be accounted for, and a gun-rights group is already threatening to sue the federal government.

Still, this remains reassuring news. Yes, there are many reasons to be frustrated over gun issues. Why did it take more than 14 months to follow through on a bump stock ban? Why didn’t President Donald Trump use the Las Vegas massacre or subsequent mass shootings at a Texas church, a Florida high school, a Pittsburgh synagogue and a Thousand Oaks bar to build a bipartisan coalition advocating limits on public access to military-style assault weapons and background checks on gun seekers without loopholes?

But given that Congress did nothing to ban bump stocks after Las Vegas — and that the Obama administration concluded in 2010 that it couldn’t ban bump stocks without a new law approved by Congress — the regulatory ban amounts to the Trump administration taking a proactive, positive step that’s surprising from a Republican president.

So let’s all give Trump his due — and urge him and Congress to pass more sensible gun-safety laws.