 Sharswood was born in Philadelphia, Pennsylvania.He graduated with honors from the University of Pennsylvania in 1828.On September 5, 1831, he was admitted to the bar of the Commonwealth of Pennsylvania.