His father died when he was just 14 months old and his mother when he was four. He was then cared for by his grandmother. He soon left home due to family quarrels, eventually seeking solitude in a Shiva temple.