Income tax in the UK was first introduced on 9 January 1799 by Prime Minister William Pitt the Younger as a temporary wartime measure during the Napoleonic Wars. It was later repealed and then reintroduced on a more permanent basis in 1842 by Sir Robert Peel to address budget deficits and has been a continuing feature of the system ever since.