The former chief financial officer at McElroy, Deutsch, Mulvaney & Carpenter has pleaded guilty to embezzling more than $1.5 million from the firm.

John Dunlea, 61, pleaded guilty to two counts of second-degree theft by deception and five counts of third-degree failure to pay taxes before Superior Court Judge Stephen J. Taylor in Morris County Superior Court. Under a plea agreement, the state will recommend that Dunlea be sentenced to five years in state prison and that he pay restitution to his former law firm and the state Division of Taxation, the Attorney General’s Office said in a statement. Sentencing is set for June 14.