Michael Cohen, President Trump’s former personal lawyer, has changed his party affiliation from Republican to Democrat.

Cohen made the party registration change at the New York state board of elections in Albany on Thursday, Axios reported.

The move is the latest attempt by Cohen, who served as the Republican Party’s deputy finance chair, to distance himself from his former boss, though it’s not the first time he’s switched parties. Cohen was registered as a Democrat before 2017, Axios reported. He became a Republican after being asked to serve on the party’s finance committee.

Cohen pleaded guilty in August to violating campaign finance laws by paying off women to remain silent about alleged affairs with Trump. While pleading guilty, Cohen said he was directed by Trump to pay off porn star Stormy Daniels in the weeks before Election Day.

“I put family and country first,” he told George Stephanopoulos in July.

Cohen is scheduled to be sentenced in December.