Party affiliation: Democratic Party
He went on to study law in his brother's office from where Adrain was licensed as an attorney in 1836 and as a counselor in 1839.
He was elected as a Democrat to the Thirty-fifth Congress and as an Anti-Lecompton Democrat to the Thirty-sixth congress, serving in Congress from March 4, 1857 to March 3, 1861, where he represented New Jersey's 3rd congressional district. He was chairman of the Engraving Committee in both congresses.
He was not a candidate for reelection in 1860 and went back to his profession as an attorney.