A merger that would form the world’s largest retail electric utility has become a political lightning rod in Virginia, drawing intense opposition from state leaders and residents who were already upset about rising electricity prices.

The state’s governor, attorney general and many consumers have complained that the acquisition of Dominion Energy, based in Richmond, Va., by NextEra Energy, of Juno Beach, Fla., would not offer enough benefits for Virginians. Instead, they said, the deal could result in higher costs and poorer customer service while making NextEra more politically and economically powerful.

Rising electricity rates have become an issue across the country. They played a role in the midterm elections this week and when Virginia picked a new governor last year. In both cases, Democratic candidates pledged to do more to address prices than Republicans had.

NextEra and its executives have been known for their sharp-elbowed political tactics and having close ties to President Trump — it was the only U.S. power company listed as a donor to the construction of the White House ballroom. In a 2023 lawsuit, some of the company’s investors said its lobbying and public relations activities in Florida had put shareholders at risk. That case is still pending.

Some of NextEra’s critics have revived those concerns in the proposed merger because the chair of the Virginia agency that has to approve the deal was a former senior lawyer for the company but has declined to recuse herself.

That agency, Virginia’s State Corporation Commission, is scheduled to rule on the merger in January. To move forward, the acquisition has to win the support of at least two of the commission’s three members, who are nominated and confirmed by state lawmakers.