He will be sentenced in July.