 In addition to functioning as a court of last resort, the Audiencia "oidores" also exercised important legislative and executive powers in the government of New Spain.In turn, the viceroy in one of his "ex oficio" positions served as the president of the Audiencia.This gave him important judicial powers along with his executive and legislative ones.