After Yaqub al-Mansur's death in 1199 the mosque and the new capital remained unfinished and his successors lacked the resources or the will to finish it. The structure was left with only the beginnings of its walls and 348 columns. While there is evidence that some tiled roofing had been added to the mosque before it was abandoned, almost all materials that could be carried away were eventually stripped from the site for reuse in construction elsewhere. In addition to being incomplete, the mosque sustained some damage in the 1755 Lisbon Earthquake.