Updated

Ecuador's electoral commission has formally ruled that a runoff election will be needed to choose a successor for socialist President Rafael Correa.

The body's announcement Wednesday confirms its earlier indication that ruling party candidate Lenin Moreno and conservative former banker Guillermo Lasso will face off in an April 2 vote.

Moreno led the nine-candidate field in Sunday's election with 39.4 percent of the votes, while Lasso finished second at 28.1 percent. Moreno fell just short of the 40 percent threshold needed for an outright victory.

Correa was first elected president in 2007 and won praise for ushering in stability for Ecuador after a severe economic crisis that saw three presidents driven from office. But he also drew criticism for an authoritarian approach against much of the press, opposition and judiciary.