Isa Hills / Photo, Westport Police Department

WESTPORT — A New York man faces a charge of fraudulently obtaining a controlled drug from a local pharmacy, based on evidence police said they found by checking his cellphone data — which was seized during an earlier arrest here for the same offense.

Isa Hills, 22, of New York City, was arrested Wednesday on one charge of obtaining controlled drugs by fraud and two charges of first-degree failure to appear in court.

Hills was charged last April 19 with obtaining a controlled substance by fraud after he and an accomplice contacted a local pharmacy to ask that two prescriptions be filled, police said.

But after checking with the doctor who supposedly authorized the prescription, it was discovered the doctor had not written it, according to the police report.

Hills and another person were arrested at the pharmacy when they arrived to pick up the invalid prescription, police said.

Hills’s cellphone was seized at the time, according to the report. After obtaining a search warrant, police checked the phone data for additional evidence and allegedly found information that linked Hills to another incident of fraudulently obtaining a controlled drug from the same Westport pharmacy last Feb. 16.

A warrant for Hills’s arrest was issued and he was taken into custody Wednesday by Westport police.

At the time, he also was arrested on two charges of first-degree failure to appear at state Superior Court in Stamford and Waterbury.

Hills was released on a combined bond of $77,500, and is scheduled to appear in court on the local charge sometime early next month.