Two police officers and three other people were killed Monday in a shootout in Kazakhstan's largest city Almaty, police said in a statement carried by Russian news agencies.
The statement said that a man served an eviction notice had "showed aggression and opened fire" on court bailiffs, police officers and emergency ministry officials.
The shooter killed two policemen and three others before being detained and disarmed.
The police did not give the name of the shooter, saying only that he was born in 1967.
The incident took place around 5:00 pm local time (1100 GMT) in the Akbulak district of Almaty, Kazakhstan's economic capital in the south of the country.