This is the first book-length study of the emergence of Medina, in modern Saudi Arabia, as a widely venerated sacred space and holy city over the course of the first three Islamic centuries (the seventh to ninth centuries CE). This was a dynamic period that witnessed the evolution of many Islamic political, religious and legal doctrines, and the book situates Medina's emerging sanctity within the appropriate historical contexts. The book focuses on the roles played by the Prophet Muhammad, by the Umayyad and early Abbasid caliphs and by Muslim legal scholars. It shows that Medina's emergence as a holy city, alongside Mecca and Jerusalem, as well as the development of many of the doctrines associated with its sanctity, was the result of gradual and contested processes, and was intimately linked with important contemporary developments concerning the legitimation of political, religious and legal authority in the Islamic world.