Learn about this topic in these articles:

partition of Ukraine

After the partition of 1667, the autonomous hetman state, or
Hetmanate, was limited territorially to the east, in Left Bank Ukraine. (The hetman state in Right Bank Ukraine, under at least nominal Polish control, was abolished by the Poles at the turn of the 18th century.) At the head of the state stood the hetman, elected theoretically by a general Cossack assembly but in effect by senior...