The United States did not recognize the legitimacy of Hernández Martínez's rise to power or government due to the 1923 Central American Treaty of Peace and Amity and only recognized his government after his government put down the communist uprising in early 1932. Hernández Martínez eventually denounced El Salvador's membership of the treaty on 26 December 1932.