Fidel Castro, at the United Nations in 1979, defied the United States for nearly half a century.
Mr. Castro was seen as a ruthless despot by some and hailed as a hero by others.