He is set to be sentenced next month.