Crooked former state Sen. John Sampson continued to break laws after his corruption conviction and should be locked up for more than seven years, Brooklyn prosecutors said in a filing Tuesday.

The feds are referring to a court order that Sampson violated in March by appearing as an attorney on a family court case in Brooklyn — although he was suspended just days earlier from practicing law.

That earned Sampson disbarment last month.

Now, prosecutors say a prison sentence of 87 months is needed more than ever because Sampson “habitually acts as if rules and laws do not apply to him, or are at most inconvenient obstacles to be sidestepped,” the Brooklyn federal court filing says.

Sampson is scheduled to be sentenced Jan. 18.

The once-powerful Brooklyn politician was convicted last year of obstruction of justice and lying to the feds as part of a mortgage-fraud investigation.

He is asking for a year and a day or, at worst, an 18-month term split between home confinement and prison. Sampson’s lawyer declined to comment.