Former President Barack Obama and first lady Michelle Obama walk in the Inaugural Parade in Washington, D.C., Jan. 20, 2009. Getty Images

While former first lady Michelle Obama was speaking at the Pennsylvania Conference for Women in Philadelphia along with TV producer Shonda Rhimes on Tuesday, her husband and former President Barack Obama surprised her by dropping in with a sweet video message to wish her on their 25th-anniversary.

Appearing on a big screen, the former president first apologized for "crashing" the conference before getting into a loving tribute to his wife on their anniversary which brought tears to Michelle’s eyes as she later appeared to blush.

"I had to crash this party because today we have been married for 25 years," Barack said in the video. "The idea that you would put up with me for a quarter of a century is a remarkable testament to what a saintly, wonderful, patient person you are."

"You have also been an example to our daughters and to the entire country. Your strength, your grace, your determination, your honesty, the fact that you look so good doing all of this," Barack said in the video which was also later posted to his official Facebook page.

"It's no wonder that as people got to know you the way that I got to know that they fell in love," the former president added.

He also said he appreciated "the fact that you look so good" doing all of this, referring to his wife. "It is truly the best decision that I ever made to be persistent enough in asking you out for a date," the former president said.

Michelle appeared to blush and then turned to Rhimes and the crowd and jokingly said: "I better get home," People magazine reported.

The video posted on the former president's Facebook page was captioned saying: "Asking you to go out with me is the best decision I ever made. I love you, Michelle."

Earlier on Tuesday, Michelle had also sent her husband and "best friend" a happy anniversary message on her Instagram page by sharing a photo from their wedding on Oct. 3, 1992, in Chicago.

Speaking at the conference in Philadelphia, Michelle provided the audience with words of encouragement. "It’s good to have control over your day-to-day life," said the former first lady as she spoke in front of thousands of conference attendees at the Pennsylvania Convention Center in downtown Philadelphia on Tuesday.

"For eight years, our lives really weren’t our own. You’re moving from crisis to crisis," Michelle said while referring to the recent mass shooting in Las Vegas that left at least 58 people dead and more than 500 wounded.

"My heart goes out to the victims and the families. Being commander-in-chief is sadly overseeing that type of loss and really not having a solution to offer families when you comfort them because we’re not at that point yet. That’s the kind of stuff that you are dealing with on a day-to-day basis," the former first lady said, the Philadelphia Tribune reported.