 An agreement, brokered by the European Union and the United States, was worked on in June and July 2015.As part of the agreement, Gruevski resigned in January 2016 and pledged to hold early elections, which were decided on later that year to be held on June 5.On 12 April 2016 President of Macedonia Gjorge Ivanov halted judicial inquiries into 56 officials suspected of involvement in the wiretapping scandal.