At least 49 people have been killed in mass shootings at two mosques full of worshippers attending Friday prayers in the New Zealand city of Christchurch.
Prime Minister Jacinda Ardern said it was one of New Zealand’s darkest days and called the shootings a terrorist attacks.
Another 20 people were seriously injured, she said.
Police have charged one man with murder. Three other people were also arrested after the attack.
Australian prime minister Scott Morrison said earlier that a suspect was Australian.
The gunman filmed himself in his car before he carried out the attacks and also livestreamed the atrocity.
Ms Ardern said the country had been placed on its highest security threat level.
A man who claimed he was behind one of the attacks left a 74-page anti-immigrant manifesto.
At a news conference, Police Commissioner Mike Bush said a number of schools had been placed on lockdown, as well as the two mosques that were targeted.
The public are being urged to stay indoors, and worshippers are being told to stay away from mosques until further notice.
Mr Bush also said a number of improvised explosive devices attached to vehicles in Christchurch have been made safe.
One man who was inside the Al Noor mosque – the scene of the deadliest shooting – told local media that there would normally be dozens of people worshipping inside.
The witness, whose clothes had been splattered with blood, said the shooting lasted for about 20 minutes and said the gunman methodically went from room to room.
He said he was one of the last people to leave the mosque – and had prayed that the gunman would run out of bullets.
It took me half an hour before my shaking stopped, the survivor added. I don’t know whether my brother is safe or not.
Another witness, Len Peneha, said he saw a man dressed in black enter the Al Noor mosque – with people running away in terror. He also claimed that he saw the gunman flee before emergency services arrived.
Ms Ardern described the shooting as an extraordinary unprecedented act of violence.
Many of those affected might be migrants to New Zealand. They have chosen to make New Zealand their home and it is their home.
There is no place in New Zealand for such acts of extreme and unprecedented violence which it is clear this act was.
Australia’s prime minister said the country is shocked and appalled by the incident.
He told reporters on Friday: As family members with our New Zealand cousins today, we grieve, we are shocked, we are appalled, we are outraged, and we stand here and condemn absolutely the attack that occurred today by an extremist, right-wing, violent terrorist.
Players and members of the Bangladesh cricket team’s coaching staff were reportedly on their bus and approaching the mosque for Friday prayers when the shooting broke out.
Opening batsman Tamim Iqbal tweeted: Entire team got saved from active shooters. Frightening experience and please keep us in your prayers.
Player Mushfiqur Rahim also posted: Alhamdulillah Allah save us today while shooting in Christchurch in the mosque. We (were) extremely lucky…never want to see this things happen again….pray for us.
The team was in Christchurch to play New Zealand in a third cricket test starting on Saturday – but the match has now been cancelled.
Mass shootings are a rare occurrence in New Zealand, with the last being in 1990 in the small seaside town of Aramoana.
Thirteen people died in that attack, as well as gunman David Gray.