Madonna has been given the green light to perform at the Eurovision Song Contest in Tel Aviv on Sunday morning (AEST).
Confirmation came from Noel Curren, Director General of the European Broadcasting Union.
Eurovision's executive supervisor Jon Ola Sand announced on Thursday night that he had "reached an agreement" with the star over the terms of her performance.
"We are very pleased to announce that we have reached an agreement with Madonna and that she will be in the grand final performing two songs," he said.
"I think it will be a real treat for the fans and viewers to have Madonna visiting the biggest entertainment show on earth."
On May 14, her much-publicised performance came into question after the show's organisers revealed that no contract has yet been signed.
The news comes despite the music legend's scheduled arrival in Tel Aviv on Wednesday morning aboard the private jet of Israeli-Canadian billionaire Sylvan Adams.
Some pro-Palestinian activists have called for performers and international broadcasters to boycott the show due to Israel being the host nation.
On Tuesday, Madonna addressed the controversy, telling Reuters she would "never stop playing music to suit someone's political agenda, nor will I stop speaking out against violations of human rights wherever in the world they may be".
"My heart breaks every time I hear about the innocent lives that are lost in this region and the violence that is so often perpetuated to suit the political goals of people who benefit from this ancient conflict," the singer said.
"I hope and pray that we will soon break free from this terrible cycle of destruction and create a new path towards peace."
Eurovision is a beloved annual global event in which countries compete against each other for the best original song.
The live show is watched by about 200 million viewers worldwide.
The grand final can be seen on SBS TV on Sunday at 5am (AEST) with an 8pm replay.
Australian Associated Press