Swaminarayan was born on 3 April 1781 (Chaitra Sud 9, Samvat 1837) in Chhapaiya, Uttar Pradesh, a village near Ayodhya, in a Hindi speaking region in India. Born into the brahmin or priestly caste of Sarvariya, Swaminarayan was named Ghanshyam Pande by his parents, Hariprasad Pande (father, also known as Dharmadev) and Premvati Pande (mother, also known as Bhaktimata and Murtidevi). The birth of Swaminarayan coincided with the Hindu festival of Rama Navami, celebrating the birth of Rama. The ninth lunar day in the fortnight of the waxing moon in the month of Chaitra (March–April), is celebrated as both Rama Navami and Swaminarayan Jayanti by Swaminarayan followers. This celebration also marks the beginning of a ritual calendar for the followers. Swaminarayan had an elder brother, Rampratap Pande, and a younger brother, Ichcharam Pande. He is said to have mastered the scriptures, including the Vedas, the Upanishads, the Puranas, the Ramayana, and the Mahabharata by the age of seven.