 Then he studied law, was admitted to the bar in 1857, and commenced practice in New York City.In 1860 he was chosen messenger of the electoral college of his state to convey to Washington its vote in favor of the presidency of Abraham Lincoln.In 1861 he was appointed U.S. assistant district attorney for the southern district of New York, holding this office about eighteen months.