In 1093 Malcolm III of Scotland invaded England and was killed at Alnwick by Robert de Mowbray. Malcolm's body was buried at Tynemouth Priory for a time, but it is believed that he was subsequently reburied in Dunfermline Abbey, in Scotland. In 1095 Robert de Mowbray took refuge in Tynemouth Castle after rebelling against William II. William besieged the castle and captured it after two months. Mowbray escaped to Bamburgh Castle, but subsequently returned to Tynemouth. The castle was re-taken and Mowbray was dragged from there and imprisoned for life for treason. In 1110 a new church was completed on the site.