Both men will be sentenced in June.