Ramanand Swami (born Rama Sharma) to a Brahmin family in Ayodhya in 1738. His parents were Ajay Sharma (father) and Sumati (mother). He was considered to be the incarnation of Uddhava, a close friend of Krishna. Ramanand was the founder and head of the Uddhav Sampraday. Ramanand Swami adopted of the Vishishtadvaita doctrine of the Vaishnava which was first propounded by Ramanuja several centuries earlier. In his travels to Srirangam in southern India in his early life, Ramanand Swami said that Ramanuja gave him diksha (initiation) in a dream and appointed him in his line as an acharya. Ramanand Swami then travelled north to Kathiyavad to spread his philosophy. Before dying in 1802, Ramanand Swami passed the reins of the Uddhav Sampraday to Swaminarayan.
Ramanand Swami was the guru of Swaminarayan.
Swaminarayan (then Ghanshyam Pande) left his home at age 11 on 29 June 1792 after the death of both his parents. He began a journey across India that took 7 years 1 month and 11 days. He took the name Nilkanth Varni while on his journey. Nilkanth Varni traveled across India and parts of Nepal in search of an ashram or sampradaya that practiced what he considered a correct understanding of Vedanta, Samkhya, Yoga, and Pancaratra (the four primary schools of Hinduism).
To find an ashram that correctly practiced the meaning of these four primary schools of Hinduism, he asked the following five questions on the basic Vaishnava Vedanta categories: