The Illinois Territory was created in 1809. It included all of what today are the states of Wisconsin and Illinois, as well as parts of Minnesota and Michigan. Its European-American and African-American populations were almost entirely concentrated in the south, in the region later known as Egypt. President James Madison first appointed Kentucky politician John Boyle as its governor. Boyle collected his salary for the position for 21 days but then resigned to take Edwards' job as Kentucky Chief Justice, while friends in Washington helped secure Edwards' appointment as territorial governor. In the meantime, Territorial Secretary Nathaniel Pope, a cousin of Edwards, had to assume the powers of acting governor, creating Illinois' first counties and appointing officials to form the new government. Only 34 years old at the time of his appointment, Ninian Edwards is the youngest man ever to govern Illinois as either a state or a territory.