In July 2018, Williams was appointed to represent the UN Secretary-General António Guterres as his Deputy Special Representative for political affairs in the United Nations Support Mission in Libya (UNSMIL).