In 1688 James II annexed New York to the Dominion of New England. Upon hearing that the king had been deposed, Jacob Leisler led a revolt to overthrow the government, and himself acted as military governor for almost two years. After restoration to legal authority in 1691, New York was granted an elected assembly.
Many New Englanders migrated to the fertile lands of New York. Foreign immigrants included French Huguenots in the late 1600's, Germans in the early 1700's and Scotch-Irish around 1740. Meanwhile French fur traders from Canada were establishing routes in upper New York. As tension between the French and the British colonies increased, both began to build forts along their trade routes.
After the first engagement of the French and Indian War in 1754, a convention at Albany was attended by the Iroquois and representatives of seven British colonies, William Johnson, a Mohawk Valley trader won the Indians' promise of continued loyalty. All tribes except the Mohawks defected to the French, however, and New York's frontier villages suffered repeated raids and massacres. Nevertheless, in 1768 the Iroquois signed the Treaty of Fort Stanwix, opening a new area in southeast New York to white settlement.