Latvia on 8 July 1999. The Saeima re-elected Vīķe-Freiberga as president of Latvia on 20 June 2003, and she gave her solemn oath on 8 July 2003. The ninth convocation of the Saeima elected Valdis Zatlers as president of Latvia on 31 May 2007, who gave the solemn oath of the president of Latvia on 8 July 2007. On 2 June 2011, the tenth convocation of the Saeima elected Andris Bērziņš as president of the Latvia, and he gave his solemn oath of the president of Latvia on 8 July 2011. In its turn, the twelfth convocation of the Saeima elected Raimonds Vējonis as president of Latvia on 3 June 2015, who gave the solemn oath of the president of Latvia on 8 July 2015. In its turn, the convocation of the Saeima elected Egils Levits as president of Latvia, who gave the solemn oath of the president of Latvia on 8 July 2019. Duties and rights The powers of the president conferred to them by the Constitution of the Republic of Latvia The president represents Latvia in international relations, appoints the diplomatic representatives of Latvia, and also receives diplomatic representatives of other countries. The president implements the decisions of the Saeima concerning the ratification of international agreements (Article 41 of the Constitution of the Republic of Latvia). The president is the Commander-in-Chief of the Armed Forces of Latvia. During wartime, the president appoints a Supreme Commander (Article 42 of the Constitution of the Republic of Latvia). The president shall declare war by a decision of the Saeima. (Article 43 of the Constitution of the Republic of Latvia). The president has the right to take whatever steps are necessary for the military defence of the State should another state declare war on Latvia or an enemy invade its borders. Concurrently and immediately, the president shall convene the Saeima, which shall decide as to the declaration and commencement of the war. (Article 44 of the Constitution of the Republic of Latvia). The president has the right to grant clemency to criminals against whom the judgment of the court has come into legal effect. The extent of, and procedures for, the utilisation of this right shall be set out in a specific law (Article 45 of the Constitution of the Republic of Latvia). The president has the right to convene and preside over extraordinary meetings of the Cabinet of Ministers and to