The man had pleaded not guilty to 23 counts of sexually assault.