The war is finally over. Or at least the one between two of the hottest pop stars of this generation — Taylor Swift and Katy Perry.

On Tuesday, May 8, Perry sent Swift a literal olive branch to mark the end of their much-publicized celebrity feud that allegedly spawned two hit diss songs.

"So I just got to my dressing room and found this actual olive branch," Swift said on an Instagram video. "This means so much to me."

The 28-year-old singer-songwriter showed fans the content of the box, which includes a letter handwritten by Perry herself and a puppy sticker that looks like the American Idol judge's dog, Nugget, noted MTV. Swift also shared a portion of the letter handwritten by the 33-year-old star herself in which she apologized for everything she did in the past.

Katy Perry And Taylor Swift's Feud — A Timeline

To recall, the feud between the two pop stars started years ago when Swift was on her Red Tour. The "Delicate" singer accused Perry of sabotaging her world tour by poaching her dancers.

However, the dancers decided to jump onboard the Prism tour in 2013 because they were much closer to the "Fireworks" singer anyway. In an interview with The Examiner, Lockhart Brownlie said they were not doing much dancing in Swift's shows and, therefore, got bored.

In 2014, Swift shaded Perry by telling Rolling Stone that her hit single "Bad Blood" was about a fellow pop star who attempted to sabotage her show. Swift also clarified that the drama between her and the unnamed singer (who everyone understood was Perry) was not about any guy. (Note: Both Swift and Perry dated John Mayer.)

Perry seemed to confirm that Swift was referring to her by calling the 28-year-old "Regina George in sheep's clothing."

As a response to "Bad Blood," Perry penned a thinly veiled diss song titled "Swish, Swish."

In 2017, during an appearance on James Corden's Carpool Karaoke, Perry admitted that she has attempted to reach out to Swift and end the feud. However, the Grammy-winner refused to speak to her.

Last year, to further fuel the fire, Swift returned her entire catalog back on Spotify two years after she declared a war on the streaming service. It happened on the day Perry released her album, Witness.

The feud continued in November when Swift released "Look What You Made Me Do" on the same night that Perry was hosting the MTV VMAs 2017.

In an interview with The Thrive Global Podcast, Perry publicly apologized to Swift.

"I love her, and I want the best for her," the "Dark Horse" singer said. "And I think she's a fantastic songwriter, and I think that, you know, if we — both her and I — can be representatives of strong women that come together despite their differences, I think the whole world is going to go like, 'Yeah, well we can do this.'"