For centuries, Ceuta and Melilla were vital port cities, offering protection for Spanish ships and acting as trading posts between Europe and Africa. In the 1930s, Spanish troops garrisoned in the two cities played a major role in future dictator Francisco Franco's uprising against their government.