Taylor Swift's 33rd birthday present: 'Shake It Off' lawsuit dismissal

'Midnights' artist Taylor Swift turned 33 Tuesday

Taylor Swift has earned herself another win in court over her song "Shake It Off," with the pop star shaking off a copyright infringement lawsuit.

In an initial court filing brought against Swift in 2017, songwriters Nathan Butler and Sean Hall alleged Swift had infringed upon their song "Playas Gon' Play" for musical group 3LW.

On Monday, a day shy of Swift's 33rd birthday, Variety confirmed both parties had reached an agreement and asked a judge to dismiss the case. A trial had been scheduled to begin in January.

A rep for Swift did not respond to Fox News Digital's request for comment before publication.

On Tuesday, Swift took to Twitter to thank her fans for "all the beautiful wishes." "I spent my 33rd birthday in the studio of course," she shared. "Wouldn't have it any other way. Love you!"

Taylor Swift at the 2022 MTV VIdeo Music Awards smiles in a thin-strapped metallic blue dress with her Moonman awards

A day before Taylor Swift's 33rd birthday, a judge dismissed the copyright infringement case against her for "Shake It Off." (Christopher Polk/Variety / Getty Images)

TAYLOR SWIFT PUNCHES BACK IN COPYRIGHT LAWSUIT, CLAIMS SHE WROTE HIT 'SHAKE IT OFF' HERSELF

In 2018, a federal judge decided to set aside the case, but an appeals court overturned the decision in 2019.

After the ruling, Swift's lawyers issued a statement to the court that said, "The Order does something that, as far as Defendants are aware, no other court has done, namely finding a potentially valid infringement claim in the use of two short public domain phrases along with allegedly similar ideas and concepts. Defendants respectfully submit that the ruling should be revisited."

Taylor Swift at the 2022 MTV Video Music Awards in a sparkly jeweled dress with cut-outs

Taylor Swift has been fighting this lawsuit several years and was finally handed a final victory Monday. (Gotham/WireImage / Getty Images)

CLICK HERE TO READ MORE ON FOX BUSINESS

With the lawsuit dismissed, Swift will be able to begin the rerecording process of her Grammy-winning album "1989," which includes "Shake It Off." 

Taylor Swift smiles in a dark purple velvet matching two piece suit set

Taylor Swift has been rerecording all albums she previously debuted under Big Machine Records. (Dimitrios Kambouris / Getty Images)

GET FOX BUSINESS ON THE GO BY CLICKING HERE                                    

The singer has already rerecorded and released two of her original albums, "Fearless (Taylor's Version)" and "Red (Taylor's Version)." 

It was confirmed in November 2020 that Swift could rerecord her first five albums — "Taylor Swift," "Fearless," "Speak Now," "Red" and "1989." This followed the revelation that producer Scooter Braun had bought the rights to the award-winning artist's records she made with her former label Big Machine Records when he acquired the company. Swift left the label in 2018.

In 2020, Swift signed a new record deal with Universal Music Publishing Group.