The accident happened in the city of Marawi where Islamists have clashed with the army.