A Port Byron man has been charged with making a terroristic threat after a more than three-hour standoff with New York State Police and Wayne and Cayuga county sheriff's deputies.

A Port Byron man has been charged with making a terroristic threat after a more than three-hour standoff with New York State Police and Wayne and Cayuga county sheriff's deputies.

Joseph A. Wilmarth, 36, of 7391 Fuller Road, Port Byron, was charged following the investigation into a complaint regarding his alleged Facebook posts. The Wayne County Sheriff's Office said it received information that Wilmarth allegedly posted a comment on Facebook stating he was going to shoot a Wayne County Family Court judge.

State Police went to Wilmarth's residence to interview him and were confronted by him holding a rifle, according to Wayne County deputies. They say Wilmarth retreated into his home and barricaded himself inside. After more than three hours, he was taken into custody without incident.

Wilmarth was arraigned in the Town of Lyons Court and remanded to the Wayne County Jail in lieu of $10,000 cash bail or $20,000 bond. He is to appear back in court Aug. 8.