Burn (someone) in effigy

To burn a dummy that represents a hated person.

The crowd of people burned the prime minister in effigy.