this timeline shows most of the early life, the political career and death of each prime minister of the united kingdom from 1846. the first prime minister was robert walpole in the early 18th century .