Hitler's genocide was race based or he would have gassed Muslims too.

The Revolutionary War, Civil War,  WWI, WWII .... all political.

More ....  https://en.wikipedia.org/wiki/List_of_genocides_by_death_toll