who was the british prime minister who was forced to resign as a result of the american revolution?