Miley Cyrus opens up about close friendship with Katy Perry, says singer wrote 'I Kissed a Girl' about her


Miley Cyrus and Katy Perry go way back.

Cyrus sat down for an interview with WKTU's Cubby and Carolina Bermudez on Tuesday morning, in which she talked about knowing Perry for almost a decade. She also revealed the origin of their friendship, which started when she was still primarily known for her role on the Disney Channel's Hannah Montana.

"Katy Perry, she's been a friend of mine for a really long time," Cyrus said when asked who's reached out to her about her new single, "Malibu." "We were actually just realizing the other day that next year, we'll have been friends for 10 years. I think that's my friend that I've known the longest, which is really, really weird!"

NEWS: Katy Perry Praises Miley Cyrus' New Song 'Malibu': 'Love This!'

The 24-year-old singer said that the two became friends after Perry revealed on the radio that she wrote her 2008 breakout hit, "I Kissed a Girl," about Cyrus.

"When she came out with 'I Kissed a Girl,' I was doing the Hannah Montana movie, and I heard her on the radio," Cyrus recalled. "They said, 'Who did you write that about?' She said me! And I was on a four wheeler, actually -- my dad had this four wheeler, this is how hillbilly we are, we had a radio attached to the four wheeler -- and I heard it and I screamed, and started freaking out."

Cyrus said Perry, 32, later invited her to go to the MTV Video Music Awards with her. The two memorably posed together on the VMA red carpet in 2008.

"That's when I started doing my whole VMA controversy," she noted. "I was like, 'I'll go with Katy Perry!' And she took me, but my mom didn't want me to go by myself, you know, like, stranger danger. So, my mom went with me in the limo with Katy Perry. And my mom, she didn't really get the joke, she just thought it was cool that I got to go with Katy Perry. So, that's how we met, and we just stayed friends."

Cyrus later answered a few questions for fans, and revealed the one song that she doesn't like to sing live.

"'Wrecking Ball' -- I'll do it, but I don't love it," she admitted. "It's when you're so stoked about something and then you have to sing a song that bums you out. And I'll never live down when I licked a sledgehammer."

Cyrus was also asked about possibly playing Madonna in the upcoming unauthorized biopic, Blond Ambition, and said that while she couldn't turn down an offer from Madonna herself, she actually has someone else in mind for the role.

"I think that's a huge, huge compliment," she said about being compared to Madonna. "I don't know, if she asked me, I couldn't turn down Madonna. But Paris Jackson looks too much like Madonna. I'm the wrong pick."

WATCH: Miley Cyrus' Transformation Timeline -- From Disney Star to Infamous Twerker to Fresh-Faced 'Malibu'

Cyrus gave her first live performance of "Malibu" over the weekend at 102.7 KIIS FM's Wango Tango, wearing a gold earring that read "LIAM" on her left ear. The jewelry was of course a nod to fiance Liam Hemsworth, whom she wrote the song about.