The president was finishing up his round just as it was time for Brian and Stephanie Tobe's wedding ceremony at The Lodge at Torrey Pines. The 18th hole was near where the wedding altar was going to be.
After Obama finished playing, the bride and groom, who were waiting in a nearby lodge, ran down to the hole where the president was shaking hands with onlookers.
See more photos of the couple meeting Obama below, courtesy of Jeff and Erin Youngren:
Also on HuffPost: