Washington (CNN) Pete Buttigieg got a reminder of the value in pausing, even in the midst of a busy presidential campaign.

The mayor of South Bend, Indiana, ended up officiating a couple's wedding Monday morning -- and hours later, the couple's child was born.

The Democratic presidential hopeful posted on Facebook that the couple was on their way to the hospital for their 9 a.m. C-section appointment, and wanted to be married before their baby was delivered.

The couple, who Buttigieg referred to as Mary and Gabe without using their surnames, came to Buttigieg's office shortly before their appointment. Buttigieg said they had all the necessary paperwork and asked him if he would "do the honors," he wrote.

"I corralled a few staff members as they were trickling into the office, to serve as witnesses, and filled out the paperwork," Buttigieg wrote. "Their rings weren't ready, so one of my colleagues found a ribbon that would do the trick."

Read More