In 1996, Estonia ratified a border agreement with Latvia and completed work with Russia on a technical border agreement. President Meri was re-elected in free and fair indirect elections in August and September in 1996. During parliamentary elections in 1999, the seats in the Riigikogu were divided as follows: the Estonian Centre Party received 28, the Pro Patria Union 18, the Estonian Reform Party 18, the People's Party Moderates (election cartel between Moderates and People's Party) 17, Coalition Party 7, Country People's Party (now People's Union of Estonia) 7, and the United People's Party's electoral cartel 6 seats. Pro Patria Union, the Reform Party, and the Moderates formed a government with Mart Laar as prime minister, whereas the Centre Party with the Coalition Party, People's Union, United People's Party, and members of parliament who were not members of factions formed the opposition in the Riigikogu.