After defeating a new Haitian invasion in 1849, Santana marched on Santo Domingo and deposed Jimenes in a coup d'état. At his behest, Congress elected Buenaventura Báez as President, but Báez was unwilling to serve as Santana's puppet, challenging his role as the country's acknowledged military leader. In 1853, Santana was elected president for his second term, forcing Báez into exile. Three years later, after repulsing another Haitian invasion, he negotiated a treaty leasing a portion of Samaná Peninsula to a U.S. company; popular opposition forced him to abdicate, enabling Báez to return and seize power. With the treasury depleted, Báez printed eighteen million uninsured pesos, purchasing the 1857 tobacco crop with this currency and exporting it for hard cash at immense profit to himself and his followers. Cibao tobacco planters, who were ruined when hyperinflation ensued, revolted and formed a new government headed by José Desiderio Valverde and headquartered in Santiago de los Caballeros. In July 1857 General Juan Luis Franco Bidó besieged Santo Domingo. The Cibao-based government declared an amnesty to exiles and Santana returned and managed to replace Franco Bidó in September 1857. After a year of civil war, Santana captured Santo Domingo in June 1858, overthrew both Báez and Valverde and installed himself as president.