 According to the book The Seinfeld Universe, both Dinkins and  Giuliani were lined up to perform the guest appearance at the end of  the episode. Producers waited out that years New York City mayoral  elections to see which candidate emerged victorious. When Giuliani  was officially announced the winner, he filmed the scene, which was  then edited into the episode roughly one day before broadcast.