DANSVILLE - A Dansville man who sold cocaine to a confidential informant in broad daylight across the street from the Dansville Police Station last December has been found guilty of felony drug counts in Livingston County Court.

 Andrew L. Campbell, 27, was convicted Thursday after a three-day jury trial on two counts of third-degree criminal sale of a controlled substance and two counts of third-degree criminal possession of a controlled substance.

 The charges are class B felonies. The Livingston County District Attorney's Office said Campbell could face a "determinant prison sentence (of) between 1 and nine years and a period of post-release supervision of up to two years." Livingston County Court Judge Robert B. Wiggins set sentencing for Feb. 7, 2017. Campbell was ordered held without bail until sentencing.

 Authorities said the Dansville Police Department ignited the case by developing information that Campbell was selling cocaine. The police department recruited an informant, and on Dec. 12, 2015, the informant walked out the front door of the police station and crossed the street to the Dansville Village Mart.

 At the store "the confidential informant met with Andrew Campbell, who sold him cocaine in broad daylight. The Dansville Police Department photographed the transaction from the Municipal Building," the District Attorney's Office said in a press release.

 Prosecutors said the police department conducted a second undercover cocaine purchase three days later. The "buy" took place across the street from the Dansville Police Station.

 Police said testing of the drugs was done by the Monroe County Public Safety Laboratory.

 The case was prosecuted by Assistant District Attorney Victor Rowcliffe. Campbell was defended by John M. Lockhart.

 "Undercover narcotics investigations are extremely difficult to set up and are very dangerous not only for the officers but to the confidential informants as well," Rowcliffe said.

 District Attorney Gregory McCaffrey said his office is requesting that Campbell be sentenced "to the full extent of the law."

 "The selling of cocaine across the street from the police department and near a school poses a clear threat to the citizens of the Village of Dansville," McCaffrey said.