The congressman was challenged for his TX-23 seat following allegations of an affair with a former staffer.