Eric Stonestreet is celebrating his birthday with the gift of marriage.

The "Modern Family" star and his longtime partner Lindsay Schweitzer, 46, tied the knot after a four-year engagement. He shared the news in an Instagram post on Sept. 9, which is the actor's 54th birthday.

"It's my birthday and guess what I got," he captioned a carousel, the second photo of which showed him and Schweitzer walking down the aisle. "I got married!" Stonestreet wrote on top of the picture.

Stonestreet quickly received a message of congratulations from Jesse Tyler Ferguson, whose character Mitch was married to Stonestreet's character Cam on "Modern Family." "Of all second marriages, this one is my favorite!" Ferguson commented on Instagram. "I love you both! I'm so happy for you!!!!😍😍"

Stonestreet has been in a relationship with Schweitzer, a pediatric nurse, since 2016. The pair met during a charity event that year, according to People magazine.