In what year did McMahon win an election