Upon the death of his father, the infant Shivaji was installed as the Chhatrapati of the Maratha Empire with his mother Tarabai serving as the regent in 1700.
At that time, he was once again deposed by his step-mother Rajasbai who installed her own son, Sambhaji II on the Kolhapur throne.
[3] When Shahu, without a male heir to succeed to his throne, wanted to adopt a son, Tarabai disclosed in late 1740s that Shivaji II posthumously became father of a son called Rajaram II who was brought up by Nimbalkars of Phaltan, for his own protection.
Due to political strife between Peshwa and Tarabai, in order to delegitimise Peshwa's authority which drew from Satara Chhatrapati's own legitimacy in 1752, Tarabai made a show of oath that Rajaram II was an imposter and not her grandson.
[4] However this oath was withdrawn and Ramaraja's caste purity was asserted in public by openly dining with other Maratha lords.