He was denied bail and will be kept behind bars until his sentencing.