A man who posed as an immigration attorney for nearly 20 years was sentenced last week to six months in jail.

The Manhattan district attorney’s office began investigating Victor M. Espinal after several of his clients alerted the Immigrant Affairs Program Hotline. Arrested in January, Espinal allegedly carried business cards identifying himself as an attorney with the “Immigrant Affairs Office” of the “N.Y. Legal Defense Unit,” licensed to practice in California and the Dominican Republic.