Consul

A government official residing in a foreign country who represents the interests of her or his country and its nationals.

Source: U.S. Maritime Administration.