In Damascus around 1350 CE, Arab astronomer Ibn al-Shatir developed non-Ptolemaic models of planetary motion that eliminated the equant and improved mathematical solutions for predicting celestial positions. Working as timekeeper at the Umayyad Mosque, he detailed these models in his treatise 'Kitab nihayat al-sul fi tashih al-usul'. His geocentric models used epicycles and the Tusi-couple to achieve uniform circular motion, producing more accurate observational results. His mathematical models for lunar and planetary motion were later found to be nearly identical to those developed by Copernicus in the 16th century.