Margaret Thatcher was 53 years old when she became prime minister of the United Kingdom in May 1979.