In the final season of this long-running sitcom, committed bachelor Barney Stinson takes the marital plunge with girlfriend Robin.

1. The Locket 22m On the way to Long Island for their wedding weekend, Robin and Barney come across a startling family discovery.

2. Coming Back 22m As a stranded Marshall scrambles to find a way to New York for the wedding, James drops a bombshell that makes Robin nervous.

3. Last Time in New York 22m Lily discovers Ted's list of things to do before he leaves New York, and Barney and Robin try to sneak in some alone time as relatives arrive.

4. The Broken Code 22m While Barney works through his anger after finding out Ted still has feelings for Robin, Marshall tries to help settle their dispute.

5. The Poker Game 22m When Barney is forced to pick sides in a fight between Robin and his mother, Lily coaches him on how not to ruin his relationship.

6. Knight Vision 22m When Ted finds himself with three prospects to be his date for the wedding, he chooses poorly. Marshall learns more about his driving companion.

7. No Questions Asked 22m When Daphne sends a troubling text message to Lily, Marshall enlists the gang's help to remove the text while enforcing the "no questions asked" rule.

8. The Lighthouse 22m When Robin and Loretta's conflict escalates, Barney is caught in the middle. Meanwhile, Ted and Cassie try to enjoy a trip to a lighthouse.

9. Platonish 22m The gang ponders the future of the Ted, Robin and Barney love triangle. Meanwhile, Barney accepts a series of challenges from Lily and Robin.

10. Mom and Dad 22m When Barney's father arrives at the hotel, Barney devises a plan that makes Robin nervous. Ted is blamed for messing up a wedding-related duty.

11. Bedtime Stories 22m To get his restless son to go to sleep, Marshall tells him three tales in rhyme.

12. The Rehearsal Dinner 21m Barney becomes fixated on having his rehearsal dinner at a laser tag arena, much to Robin's dismay. Meanwhile, Ted doesn't come through on a promise.

13. Bass Player Wanted 22m The gang encounters a guy at the wedding who intentionally stirs up trouble among them, and Marshall finally arrives at the Farhampton Inn.

14. Slapsgiving 3: Slappointment in Slapmarra 22m In an attempt to deliver a devastating final slap to Barney, Marshall explains how he mastered the "Slap of a Million Exploding Suns."

15. Unpause 22m When Barney drinks too much, Ted and Robin take advantage of him and get him to reveal secrets he's been hiding for years.

16. How Your Mother Met Me 23m The Mother recounts how she met Ted and what she's been up to for the past eight years.

17. Sunrise 22m While out looking for an inebriated Barney on the day of the wedding, Robin and Ted reminisce about past relationships.

18. Rally 22m When Barney suffers from a killer hangover the morning of his wedding, the gang tries to figure out the far-fetched ingredients in a proven antidote.

19. Vesuvius 22m On the morning of the wedding, Lily and Robin have a fight and Barney freaks out about which suit to wear.

20. Daisy 22m Marshall enlists Ted and Barney to help him figure out where Lily went when she left in the middle of their fight.

21. Gary Blauman 22m When Gary Blauman shows up at the wedding, it sends the gang into a frenzy as they each recall an encounter with him.

22. The End of the Aisle 22m With only a half hour to go, Barney and Robin have panic attacks about their upcoming nuptials. Marshall and Lily rewrite their old wedding vows.

23. Last Forever: Part One 22m Ted finally finishes telling his kids the story of how he met their mother.