Kutaisi was the capital of the ancient Kingdom of Colchis. Archeological evidence indicates that the city functioned as the capital of the kingdom of Colchis as early as the second millennium BC. Several historians believe that, in Argonautica, a Greek epic poem about Jason and the Argonauts and their journey to Colchis, author Apollonius Rhodius considered Kutaisi their final destination as well as the residence of King Aeëtes. From 978 to 1122 CE, Kutaisi was the capital of the united Kingdom of Georgia, and from the 15th century until 1810, it was the capital of the Imeretian Kingdom. In 1508, the city was captured by Selim I, who was the son of Bayezid II, the sultan of the Ottoman Empire.