Complex sentence: A loophole meant that there was nothing to stop him contesting it again, and in the resulting by-election he was elected with an increased majority.
Split into simpler sentences: A loophole meant that there was nothing to stop him contesting it again, however. In the resulting by-election he was elected with an increased majority.