William Robert Burkey, 67, was charged with possessing child porn on Monday in Florida

A former family care physician has been arrested after police said he printed out child pornography at a CVS drugstore.

William Robert Burkey, 67, was charged with nine counts of possessing child pornography on Monday in Cape Coral, Florida after a police investigation of several months.

On January 18, a CVS employee contacted police to report a suspicious encounter he'd had with a customer, according to the arrest report.

The employee reported that the customer seemed anxious and nervous, and wanted help downloading photos from his phone to print, but insisted that employee did not look at his phone or the photos.

The man bought other items at the store, including cocoa butter and personal lubricant, and used his CVS Extra Care card, which allowed police to identify him as Burkey and track him.

When Burkey returned a few days later to print more photos, police were able to confirm that they contained images of pre-pubescent girls, according to the report.

A CVS employee became suspicious by Burkey's demeanor. Cops tracked him after he used an Extra Care card to purchase lubricant after printing child porn in the drug store

Police executed a search warrant on Burkey's home on January 23 and found numerous articles of child pornography, according to the report. Cops also sat Burkey down for an interview.

It is not clear from the report what caused the delay between the search in January and Burkey's arrest on Monday.

Burkey worked as a doctor for Lee Memorial Health System in the early 2000s. His admitting privileges at Lee were revoked in 2005, according to WFTX-TV.

State records show that Burkey was referred to a state program for doctors with drug and alcohol abuse issues in 2015, but failed to complete the program as ordered.

Florida revoked Burkey's license to practice medicine in 2016.

Burkey is being held in the Lee County Jail pending bail of $40,000. It was not clear whether he had a lawyer who could comment on his behalf.