Business-minded Republicans spent millions trying to save Phelan, whose far-right opponent had the backing of Donald Trump, Ken Paxton and Dan Patrick. Phelan won by 366 votes, according to unofficial returns.
A wave of Republican incumbents were swept out of the Texas House in Tuesday's primary runoffs, including a handful who opposed school vouchers last fall.