A law school graduate was sentenced in Miami to 22 years in prison for carrying out a multimillion-dollar fraud, federal prosecutors said Tuesday.

Gerti Muho, a 2012 graduate of the University of California at Berkeley School of Law, nabbed more than $2.5 million in a scheme that involved bank, real estate, auto loan, student loan and credit card fraud, prosecutors said. He was convicted in July after a trial before U.S. District Judge Beth Bloom.

“Muho is a talented, industrious and motivated individual,” Robert Lasky, special agent in charge of the FBI's Miami office, said in a statement. “Unfortunately, he chose to use these skills to illegally satisfy his greed.”

The 34-year-old man also was ordered to pay $1.7 million in restitution to his former employer and other victims.

Muho's fraud started after he was fired in 2013 from a Wall Street hedge fund job with Fletcher Asset Management. Prosecutors said he stole information from the company's server and tried to siphon millions of dollars from hedge fund accounts before fleeing to South Florida.

He defrauded a Monaco bank into wiring him $2 million and lied to obtain a $500,000 business loan, according to the evidence at trial. Muho spent the money on a Maserati, a Jaguar and a unit at the Marquis condo tower in downtown Miami, among other things, and evaded a court judgment by creating fake identities using Fletcher's employee information.

Assistant U.S. Attorneys Sean McLaughlin and Matthew Langley prosecuted the case.