Tulsidas later came to the sacred city of Varanasi and studied Sanskrit grammar, four Vedas, six Vedangas, Jyotisha and the six schools of Hindu philosophy over a period of 15–16 years from guru Shesha Sanatana who was based at the Pancaganga Ghat in Varanasi.