At least two people were killed and several others were injured after a shooting erupted inside a building in central Auckland, New Zealand, police said on Thursday (local time), according to CNN.

The shooting is “an isolated incident,” and “not a national security risk,” New Zealand police said on Twitter, adding that multiple injuries were reported and “and at this stage we can confirm two people have died.”

“The male offender is also deceased,” police added.

Police said the incident “unfolded after reports of a person discharging a firearm inside the site on lower Queen Street at around 7.22 a.m. (local time).” They added that the shooter, who was male, “moved through the building site and continued to discharge his firearm.”

When he reached the “upper levels of the building, the male has contained himself within the elevator shaft and our staff have attempted to engage with him.”

“Further shots were fired from the male and he was located deceased a short time later. Details around what has exactly occurred are still emerging and Police will continue to provide updates around injuries and the circumstances,” authorities said.

The shooting took place hours before the opening of the 2023 Women’s World Cup which is taking place in Auckland.

New Zealand Prime Minister Chris Hipkins said there was no national security threat and the tournament would proceed as planned.

The US national team, currently staying in Auckland, said in a statement that all its players and staff were accounted for and safe.

New Zealand’s parliament voted to ban military-style semi-automatic weapons in 2019, weeks after the Christchurch massacre which left 50 people dead.