Qasr al-'Ashiq was a palace located opposite al-Haruni and the Dar al-Khalifa. It is the best-preserved of the Samarran palaces and the main building was nearly completely restored in the late 20th century. The plan of the palace appears to have been based on that of the Jawsaq. It is identified with al-Ma'shuq, which was built by al-Mu'tamid and served as his residence for part of his caliphate.