▁former ▁president ; ▁its ▁prompt ▁defeat ▁led ▁to ▁his ▁ex ile , ▁however , ▁and ▁Te jed or ▁was ▁sw orn ▁in ▁as ▁Congress man ▁in ▁his ▁replacement . ▁View ed ▁as ▁a ▁die - hard ▁pro ponent ▁of ▁Buenos ▁Aires ▁privileges ▁by ▁law m akers ▁from ▁the ▁hinter land , ▁he ▁res igned , ▁and ▁served ▁briefly ▁as ▁director ▁of ▁the ▁National ▁Library ▁of ▁Argentina , ▁and ▁as ▁Amb assador ▁to ▁Brazil . ▁He ▁accepted ▁the ▁post ▁of ▁Sol ic itor ▁General ▁for ▁President ▁Nicol ás ▁Av ellan eda ▁in ▁ 1 8 7 5 , ▁contrib uting ▁to ▁the ▁adv ancement ▁of ▁the ▁commercial ▁and ▁civil ▁codes . ▁He ▁then ▁served ▁as ▁Dean ▁of ▁the ▁University ▁of ▁Buenos ▁Aires ▁Law ▁School ▁in ▁ 1 8 7 6 ▁and ▁ 1 8 7 7 . ▁▁ ▁Return ing ▁to ▁politics , ▁he ▁was ▁elected ▁Governor ▁of ▁Buenos ▁Aires ▁in ▁ 1 8 7 8 , ▁and ▁in ▁ 1 8 8 0 , ▁ran ▁for ▁the ▁Pres iden cy ▁in ▁opposition ▁to ▁National ▁Aut onom ist ▁Party ▁leader ▁Jul io ▁R oca . ▁Win ning ▁only ▁in ▁Buenos ▁Aires ▁and ▁Cor ri entes ▁Provin ces , ▁Te jed or ▁organized ▁an ▁u pr ising , ▁forcing ▁the ▁temporary ▁re location ▁of ▁Federal ▁Government ▁offices ▁to ▁Bel gr ano ▁( then ▁a ▁sub urb ▁of ▁the ▁capital ). ▁His ▁defeat ▁led ▁to ▁his ▁res ignation ▁as ▁governor , ▁and ▁negoti ations ▁begun ▁in ▁his ▁stead ▁by ▁Mit re ▁with ▁the ▁vict or ,