While Shankaracharya (Adi Shankara) is a highly revered saint of the 8th century who played a pivotal role in the revival of Hinduism and the propagation of Advaita Vedanta, the name "Teerthraj" (King of Pilgrimage Sites) for Prayag predates him and is found in ancient scriptures like the Puranas. Shankaracharya did establish four major Mathas (monasteries) in Sringeri, Dwarka, Puri, and Badrinath and actively countered the spread of Buddhism and Jainism through philosophical debate and preaching.