A Massachusetts man released from prison early because of a drug-testing lab scandal has declared his gratitude toward the chemist allegedly responsible for his freedom after he was arrested for having a stolen handgun.

A spokesman for Suffolk District Attorney Dan Conley said Jamell Spurill told police, ``I just got out thanks to Annie Dookhan. I love that lady.''

Spurill was arrested Sunday after police pulled over a car he was in for having an expired inspection sticker and allegedly found a stolen 9mm loaded handgun.

Spurill's attorney, William Roa, said he doesn't know that his client made the alleged comment. Roa also said the gun wasn't found on Spurill, but in a locked glove compartment in someone else's car in which he was riding.