In Roman times, a legate was an official assistant to a general or governor of a province.
Legate a latere is a (now defunct) title for cardinal.