After October 1838, following Honduras' independence as a single republic, the capital continued to switch back and forth between Tegucigalpa and Comayagua until October 30, 1880, when Tegucigalpa was declared the permanent capital of Honduras by then-president Marco Aurelio Soto.  A popular myth claims that the society of Comayagua, the long-time colonial capital of Honduras, publicly disliked the wife of President Soto, who took revenge by moving the capital to Tegucigalpa. A more likely theory is that the change took place because President Soto was an important partner of the Rosario Mining Company, an American silver mining company, whose operations were based in San Juancito, close to Tegucigalpa, and he needed to be close to his personal interests.