a diplomatic envoy accredited to Switzerland
He was accredited to/at Madrid/accredited to the Spanish king.