He warded off Republican primary rival Daniel Keenan, who spent big to make Lamb’s alleged sexual misconduct central to the 5th District’s race.