Former Labor Party leader and Jewish Agency chairman Isaac Herzog was sworn in as Israel’s 11th president on Wednesday, saying he would work to repair divisions within Israeli society.

The ceremony took place at the Knesset in Jerusalem and marked the end of Reuven Rivlin’s seven-year term.

He was sworn in using the same 107-year-old Torah that his father used and which has long been in the family.

He said that “baseless hatred, polarization and division are exacting a very heavy price … the heaviest price is the erosion of our national resilience. My mission, the goal of my presidency, is to do everything to rebuild hope.”

In his parting speech, Rivlin also urged Israelis to come together as one and rebuild civilian unity.

“The Jewish state is not something to be taken for granted. A democratic state is not something to be taken for granted,” he said. “And there will be no Israel if it is not democratic and Jewish, Jewish and democratic, in the same breath.”

Herzog will not formally move into the president’s residence until after the observance of Tisha B’Av (July 17-18), the saddest day on the Jewish calendar, which is marked by a 25-hour fast. He is respecting the period of three weeks between 17 Tammuz and the ninth of Av, which is a time of mourning for the destruction of the ancient First and Second Temples, as well as other devastating events in Jewish history.