As a military and political figure, George Washington was a unifying force during the country’s formative years. He fought in the French and Indian War and later served as commander-in-chief of the Continental Army in the Revolutionary War. After being unanimously elected as the first president of the United States, in 1789, he installed the Supreme Court and the cabinet, quelled the Whiskey Rebellion, and defeated the Western Lakes Confederacy in the Northwest Indian War (and facilitated the subsequent peace negotiations with the alliance). Washington enjoyed immense popularity at the end of his second term, but he declined to run again, insisting that the United States needed to take proper precautions to avoid hereditary leadership or dictatorship.