The two men have since appeared in court