▁the ▁Institute ▁of ▁Civil ▁Engine ers ▁of ▁London ▁in ▁ 1 8 7 2 . ▁He ▁went ▁to ▁India ▁and ▁worked ▁in ▁the ▁construction ▁of ▁the ▁R avi ▁Bridge ▁for ▁the ▁P un j ab ▁Northern ▁State ▁Railway ▁and ▁then ▁to ▁Brazil ▁where ▁he ▁was ▁employed ▁by ▁the ▁Public ▁Works ▁Const ruction ▁Company ▁in ▁the ▁construction ▁of ▁the ▁rail road ▁line ▁from ▁the ▁Made ira ▁River ▁to ▁the ▁Mam or é ▁River . ▁The ▁climate ▁of ▁the ▁Brazil ian ▁Amazon ▁was ▁so ▁un he alth ful ▁that ▁of ▁thirty ▁engine ers ▁engaged ▁in ▁the ▁work ▁twenty - one ▁died ▁before ▁it ▁was ▁completed . ▁▁ ▁Upon ▁his ▁return ▁to ▁Peru ▁in ▁ 1 8 7 4 , ▁he ▁devoted ▁himself ▁to ▁the ▁management ▁of ▁one ▁of ▁the ▁family ▁plant ations ▁in ▁the ▁Tam bo ▁Valley ▁and ▁worked ▁in ▁the ▁fled g ling ▁agricult ural ▁development ▁and ▁engineering ▁circles ▁of ▁the ▁country . ▁When ▁the ▁war ▁with ▁Chile ▁broke ▁out ▁in ▁ 1 8 7 9 , ▁he ▁was ▁appointed ▁command ing ▁general ▁of ▁the ▁civ ic ▁division ▁of ▁Tam bo ▁which ▁operated ▁in ▁the ▁coast ▁of ▁Are quip a . ▁Having ▁under ▁his ▁command ▁three ▁batt al ions , ▁he ▁took ▁an ▁active ▁part ▁in ▁the ▁expedition ▁which ▁stopped ▁the ▁Chile an ▁Army ▁from ▁entering ▁Are quip a ▁city ▁and ▁comp elled ▁it ▁to ▁re emb ark ▁at ▁M oll endo . ▁When ▁the ▁Chile an ▁counter - att ack ed ▁in ▁ 1 8 8 2 , ▁they ▁initially ▁defeated ▁them ▁once