Chhatrapati Rajaram Maharaj was the step brother of Chatrapati Shambhaji. He was the son of Shivaji. After the death of Sambhaji, he became the king and carried on war with the Mughals till his death in 1700. During his reign the Marathas recovered many of their forts captured by the Mughals. They also raided many Mughal territories and collected a good deal of booty.
After the death of Chhatrapati Raja Ram his minor son Shivaji II became the Maratha King. His mother Tarabai, a very efficient woman, became his regent and conducted the affairs of the state. Under her able guidance the Marathas once again gained considerable power.