Michael Cohen, the former personal attorney to President Donald Trump, is once again in federal custody as he "refused the conditions of his home confinement," according to the Bureau of Prisons.

Cohen was taken to a federal facility Thursday, seven weeks after he was released from FCI Otisville on furlough pending home confinement, according to the BOP.

The president's former "fixer" had been serving a three-year sentence, expected to run through November 2021, at the upstate New York facility for crimes related to hush-money payments he made to two women who had accused Trump of engaging in an extramarital affair, accusations that Trump has forcefully denied.

The New York Times reported that Cohen returned to prison Thursday after refusing to agree to certain conditions related to media appearances and writing books. Cohen is reportedly working on a tell-all book about the president.

Cohen was also recently photographed dining at the sidewalk table of a restaurant near his Manhattan apartment, typically a violation of the conditions of home confinement.

The New York Post reported that Cohen shared a meal with his wife and another couple on July 2 at an outdoor table of the French restaurant Le Bilboquet. Outdoor restaurant dining resumed in New York City on June 22 as part of the Phase Two lifting of coronavirus restrictions.

In March, U.S. District Judge William H. Pauley III of the Southern District of New York rejected Cohen's effort to reduce his prison sentence, but Cohen was later released after raising concerns about his health amid the coronavirus pandemic.

Cohen's attorney did not immediately respond to a request for comment.

Read more: