A 37-year-old man has appeared in court