Though retaining its support for the president's government, the RPR criticized the executive duo composed of President Giscard d'Estaing and Prime Minister Raymond Barre. Its first master stroke was in March 1977 the election of Chirac as Mayor of Paris against Michel d'Ornano, a close friend of President Giscard d'Estaing. Nevertheless, it was faced with the creation of the Union for French Democracy (UDF), a confederation of the parties supporting the presidential policies and which competed for the leadership over the right. Consequently, the stake of the 1978 legislative election was not only the victory of the right over the left, but the domination of the RPR over the UDF in the parliamentary majority.