The husband of Rochester Mayor Lovely Warren pleaded not guilty to criminal drug and weapons charges Thursday, a day after a police search of the house he shares with the mayor.

Timothy Granison appeared via video in Rochester City Court from the Monroe County jail, where he spent the night following his arrest on Wednesday.

State police troopers spent several hours searching the home of Granison and Warren on Wednesday, saying it was part of a criminal investigation but disclosing no details at the time.

Troopers closed off the block around Warren’s home with police tape and could be seen taking items from the residence, according to video recordings by journalists at the scene.

Attorney John DeMarco, in entering not guilty pleas for Granison, asked that the charges be dismissed, saying they were not sufficiently presented, local media reported from the courtroom.

Judge Jacqueline Sisson, who came from nearby Canandaigua City Court to preside over the hearing, denied the request but said it could be resubmitted in writing.

Granison was released without bail pending his next court appearance June 21.