He became the youngest prime minister in 1783 at the age of 24. During his time as prime minister, the kingdom of Ireland joined with Great Britain and both kingdoms became the United Kingdom of Great Britain and Ireland on 1 January 1801. Pitt continued to be prime minister in the new Parliament of the United Kingdom.