Dionisio Villacorta was the Acting President of the Republic of El Salvador from 30 June to 19 July 1842. He was born in Zacatecoluca. He handed over the presidency to General and lawyer José Escolástico Marín.