Shastriji Maharaj (31 January 1865 – 10 May 1951), born Dungar Patel and ordained Shastri Yagnapurushdas, was a swami of the Swaminarayan Sampradaya and founder of the Bochasanwasi Akshar Purushottam Swaminarayan Sanstha (BAPS). Several branches accept him as the third spiritual successor of Swaminarayan in the lineage of Aksharbrahma Gurus through whom Swaminarayan manifests, which began with Gunatitanand Swami. Born in a family of farmers in central Gujarat, India, he became a swami within the Vadtal diocese of the Swaminarayan Sampradaya at the age of 17 where he was given the name Yagnapurushdas Swami. The prefix Shastri was later added in recognition of his eminent scholarship in Sanskrit and the Hindu scriptures. He established BAPS after a doctrinal split from the Vadtal diocese of the Swaminarayan Sampradaya.