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.