Complex sentence: Swift was elected lieutenant governor of Massachusetts in 1998 and became acting governor in 2001 when Paul Cellucci resigned to become the United States Ambassador to Canada.
Split into simpler sentences: Swift was elected lieutenant governor of Massachusetts in 1998. She became acting governor in 2001, when incumbent Governor Paul Cellucci resigned to become the United States Ambassador to Canada.