Dmytro Hunia (Ukrainian: Дмитро Гуня; Polish: Dymitr Hunia) was elected hetman of the Zaporozhian Host in 1638.
The rebellion was sparked by the Sejm act of the same year that declared that non-Registered Cossacks are equal to ordinary peasants in their rights (and should be subjected to serfdom).
The uprising was quelled by the forces of Jeremi Wiśniowiecki and Mikołaj Potocki.
After a series of skirmishes the Cossacks capitulated at the Starzec river.
Hunia and some other cossacks managed to flee to Russia.