Katy Perry spends July 4 in Philly with John Mayer

Katy Perry was in town Thursday to celebrate Independence Day with her on-and-off-again beau, John Mayer.

The pop singer posted an adorable photo of the two embracing and wearing patriotic apparel to her Instagram account Thursday evening, shortly after Mayer's 4th of July Jam performance on the Parkway. "Whose broad stripes and bright stars?!" the accompanying caption read.

Perry, the July cover girl of "Vogue" magazine, told the publication last month that her relationship with Mayer was "over."

"I still am madly in love with him," she shared, adding that the artist has a "beautiful mind, tortured soul."