ATLANTA — An attorney was sentenced to 21 months in federal prison after pleading guilty to charges he embezzled more than $340,000 from his law firm.

Steven Zagoria, 59, was also sentenced Monday to five years of supervised release and ordered to pay $318,000 in restitution to the victims of his crimes. Prosecutors say Zagoria forged the signature of one of his firm’s leaders on checks and then deposited them into his personal account.

They say he used the money to pay his mortgage, credit card bills and even gave some of it to his wife so she could buy a second home. The scheme unraveled when the firm audited its records and noted the missing money.