8 4 7 ▁and ▁attended ▁Harvard ▁Law ▁School ▁in ▁ 1 8 4 9 – 1 8 5 0 . ▁ ▁He ▁studied ▁law ▁with ▁Nathan iel ▁J . ▁Lord ▁prior ▁to ▁his ▁ad mission ▁to ▁the ▁Massachusetts ▁bar ▁in ▁ 1 8 5 0 . ▁ ▁Career ▁In ▁ 1 8 5 2 , ▁he ▁was ▁elected ▁a ▁member ▁of ▁the ▁S alem ▁Common ▁Council ▁and , ▁five ▁years ▁later , ▁became ▁ ▁City ▁Sol ic itor . ▁ ▁He ▁was ▁elected ▁a ▁member ▁of ▁the ▁American ▁Anti qu arian ▁Society ▁in ▁ 1 8 6 2 . ▁In ▁ 1 8 5 3 , ▁he ▁entered ▁into ▁a ▁law ▁partners hip ▁with ▁J . ▁W . ▁Perry ▁under ▁the ▁name ▁Perry ▁& ▁End ic ott , ▁which ▁was ▁dissol ved ▁in ▁ 1 8 7 3 ▁upon ▁his ▁appointment ▁to ▁the ▁ben ch . ▁From ▁ 1 8 5 7 ▁to ▁ 1 8 7 3 , ▁also ▁served ▁as ▁president ▁of ▁the ▁S alem ▁Bank . ▁ ▁In ▁ 1 8 7 3 , ▁End ic ott , ▁although ▁a ▁Dem ocrat ▁( and ▁originally ▁a ▁Wh ig ), ▁was ▁appointed ▁by ▁Republican ▁governor ▁William ▁B . ▁W ash burn ▁to ▁the ▁Massachusetts ▁Supreme ▁Jud icial ▁Court , ▁where ▁he ▁served ▁until ▁ 1 8 8 2 . ▁ ▁In ▁ 1 8 7 9 , ▁he ▁un success fully ▁ran ▁for ▁Congress , ▁followed ▁by ▁an ▁un success ful ▁g ubern atorial ▁race ▁in ▁ 1 8 8 4