After his district was redrawn, he was defeated by a well-funded oil and gas distributor.