HONOLULU — The former managing partner of what was one of Hawaii’s largest accounting firms has been taken into custody after a judge sentenced him to prison for stealing more than $400,000 from the company.

Deputies took Patrick Oki into custody on Tuesday after he was sentenced to 20 years in prison for multiple counts of theft, money laundering, forgery and using a computer to commit the crimes.

Oki admitted to claiming false reimbursements and lying to his partners but testified that he only took what was owed to him from PKF Pacific Hawaii LLP. He was found guilty on all counts following a two-week nonjury trial in February.

Circuit Judge Rom Trader put off ordering Oki to pay $440,178 in restitution until he can figure out to who the money is owed to. The state had asked the judge to order Oki to pay the money to his former PKF partners.

Following Oki’s indictment and arrest in October 2015, PKF’s new partners changed the name of the firm to Spire Hawaii LLP.