Complex sentence: In May 2004, a federal election was called, pre-empting the by-election, so the by-election campaigns became general election efforts.
Split into simpler sentences: In May 2004, a federal election was called, pre-empting the by-election. The by-election campaigns became general election efforts.