 Byzantium's "Bureau of Barbarians" was the first foreign intelligence agency, gathering information on the empire’s rivals from every imaginable source.While on the surface a protocol office—its main duty was to ensure foreign envoys were properly cared for and received sufficient state funds for their maintenance, and it kept all the official translators—it clearly had a security function as well.