A man shot and killed three people and wounded another two in a Swiss village, and was then arrested by officers who shot and injured him, police said Thursday.

Police in the southern canton (state) of Valais said they were alerted to the shooting in the village of Daillon just before 9 p.m. (2000GMT) Wednesday.

Three of the victims died at the scene and the two injured people were taken to hospitals. A police statement early Thursday gave no detail on their injuries.

When officers arrived at the scene, “the shooter pointed his weapon at our colleagues, so they had to open fire to neutralize him, to avoid being injured themselves,” police spokesman Jean-Marie Bornet told Swiss radio. He said the shooter lived in Daillon.