He’s the lawyer version of “Catch Me If You Can” — a Manhattan con artist with a 30-year history of posing as a attorney to swindle New Yorkers.

James Chiarkas, 63, used a slew of fake names and the charm of a snake-oil salesman to trick “clients’’ into thinking he was a lawyer and bilk them out of tens of thousands of dollars, according to court documents.

In his latest scam, the phony attorney fleeced his former girlfriend, Sabrina Fierman, and her mom, Barbara Roche out of thousands of dollars by promising to represent them in a legal battle, according to a Manhattan Criminal Court complaint.

The women, who run a high-end cleaning service called New York’s Little Elves, were locked in a legal fight over the sale of an apartment — and paid Chiarkas $25,500 in lawyer fees between July and August 2016, according to the documents.

But Chiarkas’s fake law-school pedigree was soon exposed, and he was arrested at his Manhattan home two months later, police sources said.

“This defendant has a 30-year history of engaging in frauds where he pretends to be an attorney,” said Manhattan Assistant District Attorney Diego Diaz at Chiarkas’s arraignment in Manhattan Supreme Court in June. Diaz added that there are additional uncharged victims, most of them neighbors.

Chiarkas’s lawyer, David Touger, called the notion hogwash.

“He vociferously denies all charges in the case,” Touger said.

Chiarkas’s bail was set at $25,000. He has not posted it and remains on Rikers Island.

Through the years, Chiarkas went by fake lawyer names such as James Kaplan and once impersonated a real upstate lawyer, according to prosecutors.

He is also accused of appearing in Brooklyn Housing Court and filing motions for a neighbor, according to court documents.

As with Leonardo DiCaprio’s con-artist character in the 2002 flick “Catch Me If you Can,’’ Chiarkas has allegedly been scamming victims for years.

And he was repeatedly arrested, law-enforcement sources said.

In 1991, he was sentenced to two to four years in jail for unlicensed practice and second-degree forgery.

He was also convicted 1986, 1994, 1997 and 1998, law-enforcement sources said.

As it became easier to prove he was a phony by Googling him, Chiarkas then claimed to be an “international lawyer,” procecutors said at the arraignment.

His recent cases must now reviewed because his status as a lawyer holds no weight, a court official said.

“Whatever cases he was involved in would most probably have to be reviewed, and the contracts could potentially be invalidated,” said Lucian Chalfen, a spokesman for the city’s Office of Court Administration.

Touger didn’t return a call seeking comment Sunday.

Fierman and Roche also didn’t return a request for comment.

Additional reporting by Daniel Prendergast