A critical election that came down to a game of chance