A man stabbed to death two people in an attack at a mosque in South Africa early Thursday, before being shot dead by police, police said.
Several people were also wounded in the attack in the town of Malmesbury near the southwestern city of Cape Town.
"Malmesbury police were called out to a local mosque and found two people dead with stab wounds and several injured," Noliyoso Rwexana, spokesperson for the Western Cape police, told AFP.
"The suspect believed to be in his thirties and armed with a knife charged at the police who tried to persuade him to hand himself over.
"He ignored the calls and tried to attack police. He was shot dead."
Rwexana said police are now "combing the scene for clues".
The motive for the attack was not immediately clear.
It comes a month after a similar attack at a Shiite mosque in the town of Verulam, on the outskirts of the eastern port city of Durban.
Three unidentified assailants killed one man by slitting his throat and injured two others after midday prayers at the mosque.
Police are still searching for the attackers.
The motive was not clear, but police said it had "elements of extremism".
The Verulam attack appeared to be unprecedented in South Africa, where about 1.5 percent of the country's 55-million population is Muslim.
The country prides itself on religious tolerance and has little record of violence related to religion.