WASHINGTON — President Donald Trump’s former lawyer, Michael Cohen, deserves a substantial prison sentence despite his cooperation with the special counsel in the Trump-Russia investigation, prosecutors said Friday ahead of his sentencing next week.

Court filings by prosecutors from both New York and the special counsel’s office laid out for the first time details of Cohen’s cooperation with investigators and took positions on the punishment he should face.

An additional filing was expected later Friday in the case of former Trump campaign chairman Paul Manafort, who prosecutors say lied to them even after agreeing to cooperate.

Prosecutors in Cohen’s case said that even though he cooperated in their investigation into hush money payments made to two women who said they had sex with Trump, he nonetheless deserves to spend time in prison.

“Cohen did provide information to law enforcement, including information that assisted the Special Counsel’s Office,” they said. “But Cohen’s description of those efforts is overstated in some respects and incomplete in others.”

In meetings with Mueller’s team, Cohen “provided information about his own contacts with Russian interests during the campaign and discussions with others in the course of making those contacts,” the court documents said.

Cohen provided prosecutors with a “detailed account” of his involvement, along with the involvement of others, in efforts during the 2016 presidential campaign to complete a deal to build a Trump Tower Moscow, the documents said. He also provided information about attempts by Russian nationals to reach Trump’s campaign, they said.

In the crimes to which he pleaded guilty in August, he was motivated “by personal greed and repeatedly used his power and influence for deceptive ends.”

Prosecutors said the court’s Probation Department estimated that federal sentencing guidelines call for Cohen to serve at least four years in prison. They said that “reflects Cohen’s extensive, deliberate and serious criminal conduct.”

Prosecutors say Cohen “already enjoyed a privileged life,” and that “his desire for even greater wealth and influence precipitated an extensive course of criminal conduct.”

Associated Press writers Larry Neumeister in New York and Michael Balsamo in Washington contributed to this report.