This agreement comes after nearly a year of negotiations with the parties.