In 2002, at his fourth attempt, Lula was elected president. In part his victory was derived from the considerable unpopularity of Cardoso's second term, which failed to decrease the economic inequality, and in part from a softening of his and the party's radical stance, including a vice-presidential candidate from the Liberal Party, acceptance of an International Monetary Fund (IMF) accord agreed to by the previous government and a line of discourse friendly to the financial markets.