<P> In the episode "Running Mates", McGarry is being prepared for the only vice-presidential debate against West Virginia Governor Ray Sullivan . The debate prep is a disaster, and the Santos campaign worries that Leo will be defeated by Sullivan . The situation worsens when the news is leaked to the press . Despite renewed efforts by Josh and Lou, they are unable to make Leo any better at debating . However, on the night of the debate, Leo proves not only his debating skills but easily wins the debate against Sullivan . Afterwards, he reveals to Annabeth that he had been the one to leak his failed debate prep news to lower expectations . </P> <P> McGarry's last screen appearance occurs in the episode "The Cold". Following a private meeting between McGarry and Bartlet in the Oval Office to discuss troop deployment in Kazakhstan, a scene which exhibits the unique closeness of their relationship, Josh Lyman asks him: "Everything okay?". McGarry answers with the character's last words on screen, a less than convincing, "Yeah ." </P> <P> On Election Night, it is said that McGarry has gone up to his hotel room in Houston to take a nap before the results come in . He is later found unconscious by Annabeth Schott who alerts McGarry's Secret Service detail . He is rushed to the hospital, where he is pronounced dead . McGarry's death comes ninety minutes before the polls close in California and other Western states, thus giving some voters this information prior to casting their vote . A hard - line Republican strategist wants to bring up McGarry's death to benefit the Republican presidential nominee, Senator Arnold Vinick, but the visibly disgusted senator tells her that he has been friends with McGarry for decades and will do no such thing, win or lose . Despite McGarry's death, the Santos - McGarry ticket narrowly wins the election over the Vinick - Sullivan ticket by a 30,000 - vote margin in Nevada and McGarry posthumously becomes the Vice President - elect after Santos' victory . </P> <P> McGarry's funeral is held at the Washington National Cathedral, though the funeral was actually filmed at The Cathedral of Mary Our Queen in Baltimore, Maryland . President Bartlet, President - elect Matt Santos, Josh Lyman, Charlie Young, former DNC head Barry Goodwin, and McGarry's unnamed son - in - law serve as pallbearers . He is buried at Arlington National Cemetery . </P>

When does leo have a heart attack on west wing