A man has been arrested and charged with making a fictitious call about a gunman in Masterton District Court.
The call caused the court to be evacuated for an hour, with some members of the public held in lockdown in the court chambers and other rooms.
Armed police checked the building thoroughly.
A short time later a man was escorted by police through the building to the police station.
Senior Sergeant Jymahl Glassey said nothing was found during the search.