An alleged scam artist who took advantage of lawyers by pretending to have found a package addressed to them and then swindling them out of a fake taxi fare has been arrested, the Manhattan district attorney’s office said Wednesday.

James Hill, 50, pleaded not guilty to charges of second-degree forgery and petit larceny in a scam that targeted about 30 law firms over the last two months. Hill allegedly called law firms claiming he had found a package on a train addressed to them and said he would bring it to their offices if they covered his $38.50 taxi fare. Hill would then hand over a package containing copies of documents from the New York State Insurance Fund.