After the May 1981 presidential election, the right also lost the subsequent legislative election that year. However, as Giscard had been knocked out, Chirac appeared as the principal leader of the right-wing opposition. Due to his attacks against the economic policy of the Socialist government, he gradually aligned himself with prevailing economically liberal opinion, even though it did not correspond with Gaullist doctrine. While the far-right National Front grew, taking advantage of the proportional representation electoral system which had been introduced for the 1986 legislative elections, he signed an electoral pact with the Giscardian (and more or less Christian Democratic) party Union for French Democracy (UDF).