After years of decline and loss of its colonies and influence, Spain was divided in the early 20th century between those wanting to open up the country and those wanting to keep it closed. Francisco Franco pursued a military career during this turbulent time. The rise of fascist groups like Falange Española led to civil war in 1936 between republicans and nationalists. Franco emerged as the leader of the nationalist forces and defeated the republicans by 1939, beginning a 40-year dictatorship characterized by Catholic nationalism, repression, and isolation from the West. Though Spain experienced economic growth later on, social unrest increased as Franco sought continuity for his regime until his death in 1975.