Linda Perry has apologized to Lady Gaga over her allegations that the “Born This Way” singer should not have received an Oscar nomination for the song “Til It Happens To You” from the documentary film “The Hunting Grounds.”

The rock star posted her public apology on Twitter on Tuesday, Jan. 19, after sharing a series of messages on the social media site on Monday, Jan. 18, about the Oscar nod that Lady Gaga has received, according to the Hollywood Reporter. "My sincere apologies. I made a mistake to comment. I wasn't in the room when the #TIHTY was being written. More importantly, I wish the focus to remain on the great importance of the song and the message of the film," Perry wrote on Twitter.

Perry’s Twitter messages on Monday, prior to her apology tweet, insinuated that Lady Gaga did not deserve to be nominated for an Oscar Award since she allegedly only wrote one line in the song “Til It Happens To You.” The “Hands of Love” singer stated on the social media site that Lady Gaga only “contributed a few words” to the said song which was composed by Diane Warren. 

Perry also described Lady Gaga as a “smart businesswoman” whom she alleged knew a song written by Warren would likely get an Oscar nod. “You know it's hard getting music out there and heard. Especially a song from a documentary, so Diane knew If she gave Gaga writing credit it would ensure the support this song needed and deserved. And Gaga knows her power. I'm not putting anyone Or anything down. I'm stating the truth. I credit Diane for writing this song, it is her experience her pain her words. That's it kids,” Perry added on Twitter.

However, Warren clarified that the Oscar nominated song “Til It Happens To You” was a “special collaboration” between her and Lady Gaga, according to Hollywood Reporter.  Warren shared the news through Twitter on Monday, Jan. 18.

Meanwhile, given Lady Gaga’s recent Oscar nomination, the singer is on her way to earning an EGOT award, People magazine reported. An EGOT award is a special distinction given to individuals who have won trophies from the Grammy Awards, Academy Awards, Emmy Awards and Tony Awards. Lady Gaga has already nabbed several Grammy Awards over the years, however, should she wins an Oscar trophy, it would bring her closer to the highly coveted EGOT award. 

The 2016 Academy Awards will air on Feb. 28.