Original: He began practicing in Hampden, a suburb of Bangor, where he lived until 1848.
Simplified: He lived in Hampden, where he practiced law until 1848, when he moved away.