BANGOR, Maine — An Ohio man who allegedly spent the last eight months traveling in Canada was arrested last week after officials said he bypassed the Calais border crossing station and walked across a railroad trestle into Maine.

Rocky Resides, 27, of Xenia, Ohio, made his first court appearance April 3 in U.S. District Court on one count of failure to present at a border crossing.

He agreed to be held without bail pending the outcome of his case, according to information in the court’s electronic case filing system.

Resides, an American citizen, was found April 2 by a U.S. Border Patrol agent walking along U.S. Route 1 away from the border in Calais, according the complaint. The Ohio man allegedly told the agent that he entered Canada illegally on July 16 and had been travelling around the country since then.

When asked why he walked across the railroad trestle instead of going through the border crossing station, Resides said he did not want to deal with Canadian customs, the complaint said.

If convicted, Resides faces up to a year in federal prison and a fine of up to $5,000.