Diary of a Wimpy Kid Wiki

You might be looking for Mayor (The Prankster).

Mayor is one of the main characters in The Invasion. When zombies were going to invade Fairview, Mayor suggested that they welcome the zombies and give them fake brains. This idea worked and the zombies and humans united. He was eventually replaced by Tiffany Rottenflesh meaning he either lost to her, or his term ended.

He was later killed when the Aliens invaded Fairview wiping out everyone in it.