New York’s governor on Monday raised the age for buying a semiautomatic rifle from 18 to 21 as she tightened gun laws following the racist massacre at a supermarket in Buffalo.

In the wake of last month’s shooting that killed as many as 10 Black people, Kathy Hochul approved a package of gun reform laws that had been passed by the state senate.

Also read: NY Gov. Kathy Hochul signs law raising age to own semiautomatic rifle

The measures come amid a spate of mass killings in the United States that have sparked renewed calls for greater gun control laws.

Payton Gendron, 18, is accused of gunning down the shoppers at Tops Friendly Market using an AR-15 assault rifle that he had bought legally.

Also read: Uvalde shooter’s early target recalls horror during sermon

As well as being at least 21 years old, buyers of semi automatic rifles will now also have to obtain a permit, meaning undergoing a background check.

Democratic New York already has some of the strongest gun laws in America.

Also read: Uvalde shooting: Police threaten victim’s mother with legal action

It is reported that the new laws also ban most civilians from purchasing body armour, such as bullet-proof vests.

Gendron, a white supremacist, was wearing heavy body armour during his alleged attack on May 14.

Hochul also agreed to expand the state’s “red flag” laws, which allow courts to take away guns from people deemed a risk to themselves and others.

Also read: Families of Uvalde, Buffalo victims scheduled for Congress testimony

Ten days after the Buffalo shooting, a teenage gunman shot as many as 19 children and two teachers dead at an elementary school in Uvalde, Texas.

US President Joe Biden has called for new gun-control legislation, including a ban on assault weapons.

Also read: Uvalde shooting victims launch action against gunmaker, threaten lawsuit

At a minimum, Biden has said lawmakers should raise the age at which assault weapons can be purchased from 18 to 21.

But gun regulation faces deep resistance in the United States, from most Republicans and some rural-state Democrats.

US gun violence has killed more than 18,000 people so far in 2022, including nearly 10,300 suicides, according to the Gun Violence Archive.