By the end of the 1970s Britain was in a mess.