With reference to Shivaji, Consider the following statements:
1. He signed the Treaty of Purandar with Raja Jai Singh of Amber, who was deputed by Aurangazeb.
2. He assumed the title "haindavadharmoddharak".
Which of the statements given above is/are correct?