Thatcher studied chemistry at Somerville College, Oxford, and worked briefly as a research chemist, before becoming a barrister. She was elected Member of Parliament (MP) for Finchley in 1959. Edward Heath made her a Secretary of State in his government of 1970 to 1974. In 1975, she beat Heath in the Conservative Party leadership election to become Leader of the Opposition and the first woman to lead a major British political party. In 1979, she was elected Prime Minister, and won a landslide re-election in 1983 after victory in the 1982 Falklands War and the recovering economy brought a revival of support.