<P> In the episode "Tailgate", Robin is put in charge of a New Year's Countdown show on her news station . The host, Sandy Rivers (Alexis Denisof), gets drunk live on the show and Robin is forced to replace him . Just before midnight, she says, "When that ball drops, we all get a fresh start, and, I don't know about you, but I could really use one ." In the season finale, it is revealed that she will be the bride at Barney's wedding . </P> <P> Her romantic feelings for Barney resurface in the eighth season when he begins dating Patrice (Ellen D. Williams), a cheerful coworker for whom she has an irrational hatred . When Barney announces that he is going to propose to Patrice, Robin is heartbroken . However, in "The Final Page", Barney reveals that his courtship with Patrice was an elaborate ruse designed to get Robin back; he then proposes . Robin accepts . </P> <P> The final season of the show depicts the 56 hours before her wedding to Barney . On her wedding day, she gets cold feet when she learns that Ted went to great lengths to find a locket she had buried years before; she takes it as a "sign from the universe" that she should be with Ted . Wanting her to be happy, Ted tells her that he no longer loves her in that way . She goes through with the wedding after Barney vows to always be honest with her . </P> <P> The series finale, "Last Forever", reveals that Robin and Barney divorced after three years because her hectic travel schedule prevents them from spending any time together . Robin leaves the group upon realizing that she can't bear to be around Barney, who has resumed his womanizing lifestyle, or Ted, who is now happily married to Tracy McConnell (Cristin Milioti). She and the gang drift apart over the ensuing years, but she is there for Ted and Tracy's wedding, where she makes her peace with Barney, who has recently had a daughter, and is pleased to see that fatherhood has made him a better man . </P>

Who married robin in how i met your mother