Original sentence: Shaki khanate (, also spelled as Sheki khanate, Shekin khanate, Shakki khanate) was one of the most powerful Caucasian khanates established in Afsharid Iran, on the northern territories of modern Azerbaijan, between 1743 and 1819 with its capital in the town of Shaki
Edited sentence: Shaki khanate (, also spelled as Sheki khanate, Shekin khanate, Shakki khanate) was a khanate later becoming powerful state established in Afsharid Iran, on the northern territories of modern Azerbaijan, between 1743 and 1819 with its capital in the town of Shaki