Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Incumbent president Francisco Morazán's first four-year term as president had led to him becoming very unpopular among the liberal elites that were his main supporters, due to him moving the federal capital from Guatemala to El Salvador. As a result, moderate conservative leader José Cecilio del Valle was elected president.
Valle died before taking the oath while traveling between Honduras and Guatemala. On 2 June 1834, the Federal Congress for a new presidential election to be held for February 1835. José Gregorio Salazar served as interim president between the two elections.