Even though it's been more than four years since Miley Cyrus graced the world with 'Party in the U.S.A.,' we still can't resist dancing to the song every time we hear it. As it turns out, writing the hit had an equally lasting effect on Jessie J!

The singer opened up to Glamour UK about the lucrative results of penning Miley's song.

“You’ve got to write songs, that’s where the money is, being an artist. ‘Party In The U.S.A.’ paid my rent for, like, three years,” she said. (All quotes via Just Jared.)

Jessie added, “Actually it was way longer than that. That’s where I get most of my money. I write songs. I’m a singer. I love endorsements and stuff, but that’s all added on.”

The 'Masterpiece' singer went on to discuss female songwriters, telling Glamour, “All women are saying, singing and speaking about the same thing, but in their own way – love, heartbreak, reassurance, sexiness, belief, how we look, how we feel. We’re all singing about it and doing it."

Relive the magic of 'Party in the U.S.A.' in the video below!

See Jessie J, Miley Cyrus + More Celebs Without Makeup

More From PopCrush