A police department in California moved its graduation ceremony to a hospital room after a recruit had to leave for the birth of his son.

Putting Family First

Trent Kersey was due to be sworn-in to become a member of the Modesto Police Department on Oct. 31. He had to step away from rehearsal for the ceremony as his wife was about to give brith to their second child.

"I had to put family first," Kersey told KCRA.

One of the department's sergeants called Kersey not long after he welcomed his son into the world. The sergeant offered to come by to see the family.

Graduation Ceremony At The Hospital

Photos shared on the Modesto Police Department's Facebook page show the sergeant didn't come alone. They brought the graduation ceremony to Kersey in the hospital.

"If you're wondering where officer Trent Kersey was, well, he was in the hospital celebrating the birth of his son," the department posted along with photos from the day's ceremonies. "Despite not being at the graduation ceremony, he met with our chiefs and command staff to be sworn in at the hospital with his wife, son and family by his side."

Kersey held his baby boy in his left arm as he raised his right arm to be sworn-in.

"They said hi to the family, met little Theo — the new baby boy — and I did my swearing in there," Kersey told KCRA. "It's just amazing. It's a crazy thing."

KEEP READING: Here are the most popular baby names in every state

Using March 2019 data from the Social Security Administration, Stacker compiled a list of the most popular names in each of the 50 states and Washington D.C., according to their 2018 SSA rankings. The top five boy names and top five girl names are listed for each state, as well as the number of babies born in 2018 with that name. Historically common names like Michael only made the top five in three states, while the less common name Harper ranks in the top five for 22 states.

Curious what names are trending in your home state? Keep reading to see if your name made the top five -- or to find inspiration for naming your baby.

Gallery Credit: Stacker

Best Looking State Patrol Cars In (Almost) Every State

For the past 10 years, the American Association of State Troopers has held a contest to determine which state has the best looking patrol cruiser. Nearly every state police agency submits their best photo of their sharpest patrol vehicle a chance to win the coveted cover photo on the association's annual calendar. From cop cars rushing through blizzards to vehicles on the Grand Ole Opry stage, here are this year's nominees.

Gallery Credit: Rob Carroll