The agreement paved the way for the European Union's largest-ever trade accord after 25 years of negotiations.