By the census of 1971, the population of Lancashire and its county boroughs had reached 5,129,416, making it the most populous geographic county in the UK.