There is no better song for Katy Perry to perform at the annual televised 'Macy's 4th of July Fireworks Spectacular' in New York City than her smash hit 'Firework.' It's as fitting as it gets, so that's just what one of pop music's national treasures did last night (July 4).

The tireless singer, who has been on an intense, transcontinental promotional run for her 'Katy Perry: Part of Me' 3D film, which is in theaters today, performed at the Brooklyn Navy Yard for an audience filled with servicemen and women.

Perry tore through 'Firework,' as elaborate and stunning fireworks burst across the sky. She wore an American flag dress with the draped sleeve and her mic handle was bedazzled in stars and stripes. Perry really does make flag fashion look good.

She also performed 'Part of Me,' which is decidedly less 4th of July themed, but it's still one of her biggest hits and the crowd was enjoying every note she sang and every dance move she busted out.

Perry's backing band dressed like naval officers and her dancers resembled cadets in camouflage. All the sailors in the crowd were jumping up and down and pumping their fists. If this performance didn't make you feel patriotic, how can you call yourself a proud American?

Watch Katy Perry Perform 'Firework' on July 4

Watch Katy Perry Perform 'Part of Me' on July 4