>> Read more trending stories  

Obama was finishing up his golf outing at the same time Stephanie and Brian were having their ceremony at The Lodge at Torrey Pines, KSWB reported.

According to the wedding photographer's website, the couple decided to delay the ceremony so the president could play the game.

Bridal party watches
icon to expand image

The president and his entourage drove up to the lodge to play the final hole, Erin Youngren said on her site.

He waves to crowd
icon to expand image

After he was done, he shook hands, greeting the crowd.

Youngren asked a Secret Service agent if the president would take a photo with the bride and groom.

And he did. As he shook the couple's hands, he apologized for delaying the ceremony, Youngren posted on her site.

The president then allowed the newlyweds to get a quick hug and photo to make their memorable day a once-in-a-lifetime event.

President Obama hugs the bride
icon to expand image