The rapid increase of population of A Coruña, Vigo and to a lesser degree other major Galician cities, like Ourense, Pontevedra or Santiago de Compostela during the years that followed the Spanish Civil War during the mid-20th century occurred as the rural population declined: many villages and hamlets of the four provinces of Galicia disappeared or nearly disappeared during the same period. Economic development and mechanization of agriculture resulted in the fields being abandoned, and most of the population has moving to find jobs in the main cities. The number of people working in the Tertiary and Quaternary sectors of the economy has increased significantly.