FILE PHOTO: Metropolitan Museum of Art Costume Institute Gala - Met Gala - Camp: Notes on Fashion- Arrivals - New York City, U.S. – May 6, 2019 - JMiley Cyrus. REUTERS/Andrew Kelly

NEW YORK (Reuters) - Miley Cyrus has settled a $300 million copyright infringement lawsuit by a Jamaican songwriter who accused the pop star of stealing her 2013 smash “We Can’t Stop” from a similar song he recorded a quarter century earlier.

Michael May, who performs as Flourgon, sued Cyrus in March 2018, claiming that “We Can’t Stop” closely resembled his 1988 song “We Run Things,” which he called a reggae favorite since reaching No. 1 in his home country.

May accused Cyrus and her label RCA Records, owned by Sony Corp, of misappropriating material including the phrase “We run things. Things no run we,” which she sang as “We run things. Things don’t run we.”

May, Cyrus, Sony and other defendants filed a joint stipulation in Manhattan federal court on Friday ending the lawsuit with prejudice, meaning it cannot be filed again.

Cyrus’ lawyers said in a Dec. 12 letter that a settlement agreement had been signed, and that the stipulation would be filed “pending payment of the settlement proceeds,” which were not specified.

Lawyers for May and Cyrus did not immediately respond to requests for comment.

“We Can’t Stop,” from Cyrus’ album “Bangerz,” peaked at No. 2 on the Billboard Hot 100 in August 2013.

It was blocked from hitting No. 1 by Robin Thicke’s “Blurred Lines,” the subject of its own high-profile copyright case over its resemblance to Marvin Gaye’s 1977 song “Got To Give It Up.”