 The first bimaristan, built in 706 in Damascus by the Umayyad Caliph named Al-Walid, focused on treating individuals with leprosy.Around the same period the second bimaristan was built in Cairo.The third and fourth Islamic hospitals were built in Baghdad.