(CNN) -

People were celebrating a wedding when a car bomb went off nearby Sunday, leaving an 11-year-old child dead, in the Turkish town of Semdinli.

Another 18 people were wounded in the attack in Hakkari Province, Prime Minister Recep Tayyip Erdogan said.

A car exploded as an armored police vehicle was passing by, according to the semi-official Anadolu news agency.

"Because this despicable attack occurred near an area with a wedding unfortunately there were civilian casualties," said Erdogan.

The injured were taken to nearby hospitals.

The attack in Turkey's Hakkari Province also wounded 18 people, officials said.