William Pitt the Younger however, was comfortable with Shelburne, and thus joined his government; he was appointed Chancellor of the Exchequer. Fox, who became Pitt's lifelong political rival, then joined a coalition with Lord North, with whom he collaborated to bring about the defeat of the Shelburne administration. When Lord Shelburne resigned in 1783, King George III, who despised Fox, offered to appoint Pitt to the office of prime minister. But Pitt wisely declined, for he knew he would be incapable of securing the support of the House of Commons. The Fox–North coalition rose to power in a government nominally headed by William Cavendish-Bentinck,
William Pitt the Younger cast, which dragged on for more than a year. Meanwhile, Fox sat for the pocket borough of Tain Burghs. Many saw the dragging out of the result as being unduly vindictive on the part of Pitt and eventually the examinations were abandoned with Fox declared elected. Elsewhere Pitt won a personal triumph when he was elected a Member for the University of Cambridge, a constituency he had long coveted and which he would continue to represent for the remainder of his life. His administration secure, Pitt could begin to enact his agenda. His first major piece of legislation as Prime