(CNN) Eight people died after a helicopter crashed in central Java, Indonesia, while on a rescue mission following a volcanic eruption.

The National Search and Rescue helicopter was en route to provide assistance when it crashed Sunday. All eight casualties were members of Indonesia's emergency services, according to CNN affiliate CNN Indonesia.

More than a dozen tourists were visiting the Sileri Crater area when it erupted at about midday, shooting cold lava, mud and smoke up to 50 meters into the air, state news agency Antara News said.

Four of the visitors were injured, it said.

Radius 100m di Kawah Sileri sejak 24/6/2017 direkomendasikan PVMBG tidak boleh ada aktivitas wisata. Namun larangan sering tidak ditaati. pic.twitter.com/nO77hgKLCM — Sutopo Purwo Nugroho (@Sutopo_BNPB) July 2, 2017

Sutopo Purwo Nugroho, head of public relations at Indonesia's National Disaster Mitigation Agency, told Antara no one had been killed in the eruption itself but visitors were being ordered to clear the area. He said army, police and volunteers were all location to ensure the area to give assistance.

Read More