Miley Cyrus has taken a "wrecking ball" to the charts, smashing her way to #1 for the first time ever.

Her single "Wrecking Ball" has jumped from 22 to #1 on the Billboard Hot 100, replacing Katy Perry's "Roar" at the top of the chart, where it had been for two weeks. The highest Miley had gotten previously was #2, with both "Party in the U.S.A." and "We Can't Stop."

A big contributor to "Wrecking Ball's" success is its racy video, which features the singer sitting completely nude on, yes, a wrecking ball. It racked up a record 19.3 million views on VEVO in its first 24 hours, and since the Billboard chart now counts streaming like the kind you get from playing a YouTube video as well as airplay and sales, it gave the song a huge boost.

But the sales weren't too shabby, either: this past week, it sold 477,000 downloads, according to Nielsen Soundscan. That's the second-best total for the year: only "Roar" had more, when it sold 557,000 copies in its debut week.

Here's something else Miley can be proud of: she's the first member of her family to score a #1 hit. Her dad Billy Ray Cyrus reached the top 10 in 1992 with "Achy Breaky Heart" four months before she was born while her brother Trace Cyrus hit the top 10 with his band Metro Station...remember their 2008 hit "Shake It?"

Miley's #1 spot means that for the first time in a year-and-a-half, the top three spots on the Hot 100 are held by women. Katy's "Roar" is at #2, and Lorde's "Royals" is #3. The last time this happened was in March of 2012, when #1, #2 and #3 were, respectively, Katy's "Part of Me," Adele's "Set Fire to the Rain" and Whitney Houston's "I Will Always Love You," which had re-entered the chart following her death the previous month.