Up until 1717, the Illinois Country was governed by the French province of Canada, but by order of King Louis XV, the Illinois Country was annexed to the French province of Louisiana, with the northeastern administrative border being somewhat vaguely on or near the upper Illinois River.