A psychiatrist who practices in Long Beach was sentenced to more than four years in prison for paying a $30,000 bribe to an IRS agent who was auditing the man’s taxes, authorities said Monday.

Dr. Harshad Shah, 62, of Cypress, was sentenced on Friday by U.S. District Judge Cormac J. Carney, the U.S. Attorney’s office said in a written statement.

Shah was convicted of one count of bribery of a public official by a federal jury after a five-day trial in October 2016. The federal jury found Shah paid the bribe to an IRS revenue agent who had determined Shah owed $410,000 in back taxes, interest and penalties.

During trial, Shah claimed he was entraped by the agent, the judge dismissed those claims, saying recordings played during trial showed Shah was not induced by the agent to commit bribery, the U.S. Attorney’s office said.