Twenty people in southern Philippines have died and many injured on Sunday morning after two bombs went off at a Roman Catholic cathedral, officials say.
The first blast occurred during Sunday Mass at the church on Jolo island, where Islamist militants are active.
As soldiers responded, a second device was detonated in the car park.
The attack comes days after a majority-Muslim area in the region voted for greater autonomy in a referendum.
No group has so far said it was behind the attack. Jolo has long been a base for militants including those of the Abu Sayyaf group.
The local officials say the first blast happened at 08:45 local time (00:45 GMT) inside the Cathedral of Our Lady of Mount Carmel, which has been hit by bombs in the past.
The second explosion was shortly afterwards on the doorstep of the church.
Local police initially put the death toll at 27 but later lowered it to 20, saying there was double counting in earlier official reports.
Most of the victims are civilians.
Images posted on social media showed the main road leading to the church sealed off by soldiers in armoured personnel carriers.
Some of the wounded were evacuated by air to the nearby city of Zamboanga.
Calling the attack a “dastardly act”, Defence Secretary Delfin Lorenzana urged the local population to work with the authorities to “deny terrorism any victory”.
“We will use the full force of the law to bring to justice the perpetrators behind this incident.”