In 1991, the Haitian army overthrew Haiti's legally elected president, Jean-Bertrand Aristide, and created a new military government. The goal of Operation Uphold Democracy was to remove this military government and bring President Aristide back to power. The operation was protected and supported by the United Nations through Security Council Resolution 940, passed on 31 July 1994.