AUBURN — A judge in Maine has thrown out a lawsuit that was filed by a former jail supervisor who was seeking to get his job back.

According to the Sun Journal, Androscoggin County Superior Court Justice Thomas Delahanty ruled this week that Patrick Gorham’s lawsuit wasn’t filed within the required 30-day deadline.

Gorham was fired for on-the-job pranks at the Androscoggin County Jail that included duct taping a co-worker to his chair and putting a choke hold on another employee. Gorham claimed his firing was unlawful and that his constitutional rights were violated.

Delahanty ruled that Gorham had to file the complaint within 30 days after he was fired Nov. 4, but that he didn’t do so until Dec. 18.