A man is being tried in court.