Trujillo tended toward peaceful coexistence with the United States government. During World War II Trujillo sided with the Allies and declared war on Germany, Italy and Japan on 11 December 1941. While there was no military participation, the Dominican Republic thus became a founding member of the United Nations. Trujillo encouraged diplomatic and economic ties with the United States, but his policies often caused friction with other nations of Latin America, especially Costa Rica and Venezuela. He maintained friendly relations with Franco of Spain, Perón of Argentina, and Somoza of Nicaragua. Towards the end of his rule, his relationship with the United States deteriorated.