Jamie McCarthy/Getty Images

Doja Cat and Nicki Minaj pulled a huge upset over Beyonce and Megan Thee Stallion by beating them to the top of the Billboard chart.

The duo scored their first number one on the Billboard Hot 100 with their remix "Say So".

Neither artist has ever topped the chart before and their collaboration kept Megan Thee Stallion and Beyonce's remix "Savage" from reaching No. 1.

Doja Cat's track wasn't even in the top five a week ago, but Minaj's remix dropped on May 1st and led to a surge in sales.

Minaj dropped a scathing diss about Beyonce that pushed "Say So" out ahead of "Savage".

"Why you talkin' 'bout who body fake? With all them fillers in your face, you just full of hate. That real ass ain't keep your nigga home. Now you're lookin silly, that's word to silicone..."

Speculation ran rampant that Nicki was dissing either Beyonce or talk TV guru Wendy Williams in the remix. But Nicki cleared the air by taking to Instagram and posting: "The line ain't about Wendy tho #SaySoRemix."

In other music news, The Weeknd's "Blinding Lights" falls to three on the new Hot 100, while Drake's "Toosie Slide" and Roddy Ricch's "The Box" round out the top five.

Meanwhile, Drake has tied Madonna's record for the most Hot 100 top 10s of all-time with "Pain 1993", which features Playboi Carti. The track debuts at No. 7 on the new Hot 100 countdown and becomes his 38th top 10 track.