candidate: In 1994 , Cardoso produced a highly successful Plano Real , that after decades of failed economic plans made by previous governments attempting to curb hyperinflation , finally granted stability to the Brazilian economy , leading Cardoso to be elected that year , and again in 1998 .