Season 7 of the hit show How I Met Your Mother was quite the emotional rollercoaster. Right off the bat, fans learn that Barney is going to get married to a mysterious bride. Over the course of the twenty-two episodes that made up the season, the gang sees the unexpected arrival of a new adorable member, Robin and Barney each find people who seem to be the right partners for them, and Ted embarks on a romantic journey with a familiar face.

Related: Alyson Hannigan's Best Performances, Ranked By Rotten Tomatoes

There were only two more seasons to go until the end of the show, and How I Met Your Mother ventured into slightly new territory. Although it kept the light-hearted nature that fans fell in love with, the series went deeper into its portrayal of adulthood, friendships, and romantic relationships, sometimes going as far as introducing heart-wrenching moments and scenes that would not have been a part of its earlier episodes. Take a look at some of the best moments that marked the seventh season of How I Met Your Mother.

Disaster Averted (8.3)

At this point, Robin is already dating Kevin, who regularly hangs out with the group. While they're doing their usual shtick of spending time at the bar drinking, Kevin inquires about the origin of the "No Boogie-Boarding" sign outside MacLaren's.

This prompts the gang to recall the time Hurricane Irene hit New York back in 2011 and everything that ensued. This included marshall freaking out about not having health insurance, and everyone thinking Ted was exaggerating about how hard the storm would him the city.

No Pressure (8.4)

"No Pressure" marked the seventeenth episode of season 7. At this point, Robin and Kevin had broken up, and once again, audiences witnessed just how much Ted still wasn't over Robin. He spent the entire episode trying to figure out if she still loved him, and is left heartbroken when she its she doesn't.

On a slightly more lighthearted note, Barney finds out Lily and Marshal have a sex tape hidden somewhere. In true Stinson fashion, he goes above and beyond to track it.

The Magician's Code: Part 1 (8.5)

The season finale was split into two parts, with "The Magician's Code: Part 1" being the first. Lily goes into labor, and in order to distract her from the pain and from the fact that Marshall's not there, Robin and Ted recall several funny stories from the past, making for some incredible flashbacks.

Related: How I Met Your Mother: 10 Ways Ted Got Worse & Worse

In the meantime, Marshall is drunk and stuck in Atlantic City with Barney, who needs to find a way to get him back to New York so he can be present for his son's birth. It's a high stakes episode!

The Best Man (8.6)

"The Best Man" was the first episode of season seven, officially kicking off the events that would take place over the course of twenty-two episodes. It's here that audiences find out that Ted is Barney's best man at hid wedding - but who could be the bride?

This leads to Ted recalling Punchy's wedding, the day when they found out Lily and Marshall were going to have a baby and when Robin itted to still having feelings for Barney.

Trilogy Time (8.6)

The gang loves nothing if not a good tradition. One of those traditions involves Barney, Ted, and Marshall getting together every three years to watch the original Star Wars trilogy.

This year, and now that Barney is getting serious with his girlfriend Quinn, Ted wonders if he will ever find someone to marry, love, and have children with. The episode goes from funny to sad to hilarious, in a perfect balance of emotions.

The Broath (8.7)

The gang is still suspicious of Quinn, and more so after Ted breaks the oath he swore to Barney and tells Lily, Marshall, and Robin that she is actually a stripper. Believing Quinn is manipulating Barney, the group decides to stage an intervention to keep the two of them from moving in together.

A battle between Robin and Ted happens in the background, as the two continue to have a strained relationship and are both looking for a place to live.

Symphony of Illumination (8.8)

When Robin suspects she's pregnant, she isn't too happy about it. However, "Symphony of Illumination" soon turns into what is perhaps one of the saddest episodes on the show.

Related: How I Met Your Mother: 5 Times Ted Was The Worst Friend (& 5 Times He Was The Best)

As it turns out, Robin can't have any children of her own. And even though she was always adamant about the fact that she didn't want any, having the possibility taken away from her is still heartbreaking. As is the moment she says goodbye to her potential kids.

The Magician's Code: Part 2 (8.9)

The end of the season saw the birth of Marvin Wait-For-It Eriksen, sending Marshall and Lily into a spiral of unconditional love and happiness. The same, however, can't be said for Barney, Robin, and Ted.

Robin encourages Ted to go after Victoria, the girl who was right for him all along. In the meantime, Barney makes a decision that shocks everyone when he gets engaged to Quinn.

Ducky Tie (8.9)

Even though it only appeared on season 7 for the first time, the Ducky Tie became a staple for fans of How I Met Your Mother. And the third episode os the season was when this iconic piece of clothing was born.

After a bet between Barney and Marshall that would grant the former the chance to look at Lily's breasts goes completely sideways, Barney ends up losing and having to wear the tie for a long, long time.

Tick Tick Tick (9.0)

While Ted and Marshall get stoned at a concert, leading to a series of hilarious sequences, Robin and Barney struggle with itting to Nora and Kevin that they slept together. Barney wants to get back with Robin, but does she want the same? What will the fate of their relationship be?

Next: How I Met Your Mother: 10 Ways Lily Got Worse & Worse