Dahomey gained its independence from France in 1960; the name was changed to Benin in 1975. From 1974 to 1989, the country was a socialist state; free elections were reestablished in 1991.