Complex sentence: Prior to serving as governor, Ehrlich represented Maryland's 2nd Congressional district in the U.S. House of Representatives and also had served as a member of the Maryland House of Delegates.
Split into simpler sentences: Prior to serving as governor, Ehrlich represented Maryland's 2nd Congressional district in the U.S. House of Representatives. He had previously served as a member of the Maryland House of Delegates.