A student who entered a Moscow secondary school and took more than 20 fellow pupils hostage has been arrested, Moscow police say.
The gunman killed one police officer and one teacher, police said. Another policeman was shot and injured.
The hostages the gunman took have been released, police said.
The incident, on the outskirts of the Russian capital, comes as Russia prepares to host the Winter Olympic Games, due to start in Sochi this week.
The gunman is said to be a pupil at School No 263 on the northern outskirts of Moscow, BBC informs.