In Part 1 of the two-part Season 7 finale, Marshall is partying in Atlantic City with Barney when Lily goes into labor, so the frantic father-to-be scrambles to get back to New York in time for the birth. Meanwhile, Robin and Ted try to distract Lily from her painful contractions.