The Somoza regime was a military dictatorship that ruled over Nicaragua for almost half of the 20th Century. They were supported by every US president including President Carter.
The first, Anastasio Somoza, came to power in 1937; he ruled with an iron fist until September 21, 1956 when he was assassinated by Rigoberto López Pérez. His son Luis took over after his father's death. He died of a heart attack and Anastasio's youngest, Anastasio Jr. took control. He was finally overthrown in a coup in 1979, when the Sandinistas took control. The Sandinistas lasted 10 years before they were overthrown by the United States.
During the Presidency of U.S. President Franklin Delano Roosevelt, Nicaragua became a signatory of the Pan American Union and later joined the Allied Powers during World War II. At the end of the War, Somoza led Nicaragua into the United Nations.