An agency of British India was an internally autonomous or semi-autonomous unit of British India whose external affairs were governed by an agent designated by the Viceroy of India.[1][page needed]