The highest ranked diplomat assigned to the embassy in another state's capital city.
Not a term formally recognized in international law - the Vienna Convention on Diplomatic Relations (1961) prefers "head of mission" - but routinely used by diplomats themselves to refer to the highest ranking officer of a state, sent to another as part of the sending state's diplomatic corps.