He is due to be sentenced in mid-October.