Uriburu ruled for two years; then Agustín Pedro Justo was elected in a fraudulent election, and signed a controversial treaty with the United Kingdom. Argentina stayed neutral during World War II, a decision that had full British support but was rejected by the United States after the attack on Pearl Harbor. In 1943 a military coup d'état, lead by General Arturo Rawson toppled the democratically elected government of Ramón Castillo. Under pressure from the United States, later Argentina declared war on the Axis Powers (on 27 March 1945, roughly a month before the end of World War II in Europe).