Ken Paxton, the Republican attorney general of Texas, has finalized his divorce with his wife, Angela, who cited his adultery in her divorce petition last year, a lawyer for Mr. Paxton said on Thursday.

The final agreement comes more than a year after Ms. Paxton first filed for divorce and just over a week after Mr. Paxton lost his race for the U.S. Senate.

The terms of the divorce were agreed on and will remain private, the lawyer, Laura Roach, said in a statement.

“The Paxtons and their respective attorneys, worked diligently to reach an amicable resolution of their divorce,” she said. “From my observation, they share mutual respect for one another and appear to be looking forward to the next chapter of their lives.”

Ms. Paxton’s divorce lawyer did not immediately respond to a request for comment, but a spokesman for Ms. Paxton, a Republican state senator, did not dispute that the divorce was final.

In a filing with the court on Wednesday, Ms. Paxton said she and Mr. Paxton had agreed on the division of their property and debts that was “fair and equitable to both me and my husband.”

The Paxtons were married on Nov. 1, 1986 and had “ceased to live together on or about June 1, 2024,” she said in the filing, which was made in state court in McKinney, Texas.

On Thursday morning, Ms. Paxton posted an image of a Bible verse on social media that reads, in part: “And we know that in all things, God works for the good of those who love him.” She declined to comment on the divorce or the posting.

Ms. Paxton cited “biblical grounds” in her petition last summer to end her marriage of more than 30 years to Mr. Paxton.

She filed for divorce just months after Mr. Paxton announced his run for Senate, challenging Senator John Cornyn in the Republican primary. Mr. Paxton won the primary but lost by a 12-point margin to a Democrat, James Talarico, in last week’s election.

Mr. Paxton’s personal life was an issue at several points in the primary and general election campaigns. In the final weeks of the race, video emerged showing Mr. Paxton celebrating New Year’s Eve in 2024 in Dubai with two U.S. fugitives and Tracy Duhon, a Christian influencer.

Since the time of the video, Ms. Duhon, a Christian influencer, and Mr. Paxton have grown close. They were seen traveling in Europe together this summer.

Mr. Paxton was also accused of having another extramarital relationship years earlier. The accusation formed part of the impeachment charges brought against Mr. Paxton by the Texas House in 2023. The woman involved visited the State Capitol but never testified during the trial in the Texas Senate. Mr. Paxton was acquitted. He never directly addressed his relationship with the woman.

Ms. Paxton, who sat through the trial as a senator but was not permitted to vote on Mr. Paxton’s fate, stood by him after the impeachment.

During the U.S. Senate campaign, Ms. Paxton appeared in a political ad urging Republicans to support the party’s candidates across the board, including her estranged husband, whom she did not name.

“That’s why I’m voting for the Republican ticket on Nov. 3,” she said. “Let’s hold the line together.”

Democrats won every statewide race on the ballot in Texas last week.

Mary Beth Gahan contributed reporting from McKinney, Texas.