[37] the political situation in the twentieth century was tumultuous, with the end of the monarchy in 1931 and the arrival of the Second Republic, finalized the War civil and replaced by dictatorship, to the restoration of the monarchy and the arrival of democracy. Socially, this century saw the influx of immigrants to the city, with a consequent increase in the population: if in 1900 there were 530 000 in 1930 had almost been doubled (1 009 000 rooms. ) to reach between 1970 and 1980 the maximum quota (1 754 900) and at the end of the century 1 500 000. [38]