The British Prime Minister who served right before Margaret Thatcher was James Callaghan. He was the leader of the Labour Party and held the position of the Prime Minister from 1976 to 1979. Callaghan's tenure as Prime Minister was marked by the economic crisis, high unemployment rates, and a decline in the economy. He was succeeded by Margaret Thatcher, who went on to implement significant economic and social reforms in the country.