In 1807, the Republic of the Ionian Islands was ceded to Napoleon. At the Vienna Congress, it was decided that the Ionian Islands would become an independent state under the protection of Great Britain. So, the United States of the Ionian Islands was created, a federation of islands, but in fact an English protectorate. Thomas Maitland took command of the islands.