Two bombs at a Roman Catholic cathedral in southern Philippines have killed 20 people and injured dozens more, local officials say.
The first blast happened as Sunday Mass was being celebrated 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.
What is known about the attack?
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.
Image caption: The army has been deployed to the area after the bomb blasts
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."
In last week's referendum, voters approved the creation of the Bangsamoro Autonomous Region in majority-Muslim areas of southern Philippines.
But voters in Sulu province, where Jolo is located, rejected it.
The referendum was the result of a peace deal between the government and the Moro Islamic Liberation Front (MILF).
The authorities have previously expressed hopes that the vote could be a political solution to try to end decades of fighting between Islamist separatists and the Philippine army in the predominantly Catholic country.
More than 120,000 people have died in the violence.
Have your say
More World Headlines
- Biden refuses to apologise for working with racist senators
- Nigeria condemns attack on its embassy in London
- Slavery reparations hearing ignites fiery debate in Congress
- $22,000 zoo funds stolen by robbers not eaten by gorilla - Nigeria governor
- South African MP punches man during alleged racist incident
- Jamal Khashoggi killing: Saudi crown prince 'should face investigation' - UN
- 70.8 million people displaced worldwide - UNHCR
- Trump formally launches 2020 re-election bid
- South Africa prez buys lunch himself on busy day in Cape Town
- Germany's Angela Merkel 'fine' after seen shaking in heatwave
- Baby cut from womb in US murder case dies
- Ethiopia lawyers to sue over internet blackout
- I'm treated worse than Abe Lincoln - Trump
- Morsi buried hours after collapsing in court
- '8 million Nigerian children' miss out on education