Mogherini was the EU's high representative for foreign and security policy and head of its diplomatic service from 2014 to 2019.