Bohdan Khmelnytsky led the Cossack rebellion as the elected hetman.