Democrat James Talarico defeated Republican Ken Paxton in Texas’s U.S. Senate race, according to November 4 reports from the BBC and The Times of India. The result gives Texas Democrats their first Senate election victory since Lloyd Bentsen won in 1988.

The breakthrough came alongside a change in the governor’s office. The Times of India reported that Democrat Gina Hinojosa defeated three-term Republican Gov. Greg Abbott, becoming Texas’s first Latina governor. The BBC also reported Abbott’s defeat, describing it as the first Democratic victory in a Texas governor’s race since the 1990s.

Talarico, a state legislator and former schoolteacher, centered his campaign on the rising cost of living, the BBC reported. He also drew on his religious background, including his time in seminary and his upbringing as the grandson of a Southern Baptist preacher. Paxton argued that Talarico was too progressive for Texas and campaigned repeatedly with President Donald Trump.

The contest attracted more than $500 million in spending, according to the BBC, which described it as the most expensive U.S. Senate race in history. That included $158 million from Elon Musk to a super PAC supporting Paxton—funding Talarico highlighted in his attacks on his opponent.

Both outlets placed the Texas results within wider Democratic gains. The Times of India reported Senate victories in states including Maine, South Carolina and Kansas, while the BBC reported that Democrats had secured control of both chambers of Congress.