The singer, who turned 31 today, kicked off her celebrations a day early by attending and performing at a political rally in support of Hillary Clinton in Des Moines, Iowa, on Friday. The pop star had the lucky honors of taking over the democratic presidential candidate's Instagram for the day.

"Katy Perry here, taking over Hills' IG today for the rally in Iowa," she captioned a photo of her campaign-themed nails. "The stage is set, and the nails are pressed. T-minus 1.5 hours before we Roar together. #ImWithHer."

Perry took a break from social media to perform for the crowd before the Iowa Democratic Party's annual Jefferson-Jackson Dinner. After Bill Clinton introduced her, Perry belted out hits like "Roar" and "Firework," and encouraged the audience to get out and vote.

"You have so much power and this is one of the most important elections in over a decade. So much change can happen," Perry said. "I stand and I march with Hillary. I believe in her future, her vision. I believe in her policies. I believe in equal rights for men, women, pay...Thank you for having me, she's my firework."

Before the rally came to an end, Clinton thanked Perry for her efforts. "I have to give a special shout-out to somebody really special, somebody whose birthday is tomorrow, someone who reminds us that sometimes you just have to let them hear you roar," Hillary said. "Katy Perry, thank you for being here."

On Saturday, Clinton took to Instagram to wish Perry an official happy birthday, sharing a photo of the two getting caught in the act of taking a selfie.

This isn't the first time Clinton has hung out with one of her many celebrity friends recently. In August, she snapped a photo with the queen of selfies, Kim Kardashian. Watch the video below to hear more.