Was the criminal indictment given to the defendant by the procuratorate when it was handed over to the court?
Your idea is wrong. The criminal indictment was written by the public security organ when the case was transferred from the public security organ to the procuratorial organ.
When a case is transferred from a procuratorial organ to a court, it is called an indictment.
When the court accepts a case, the court staff will give the suspect an indictment, but not a criminal indictment.