Riding a bicycle on a South Main Street sidewalk prompted a stop by police Wednesday at midday.
Cortland Police say Cody Guernsey, 36, of Cortland was arrested following that stop.
Officers say he gave a false name and date of birth, and they found marijuana and needles on him.
He was also wanted for a bench warrant from Cortland City Court for Criminal Possession of a Controlled Substance.
Guernsey was sent to the Cortland County Jail awaiting bail, and is due in court on January 3.