If the admin leaves a WhatsApp group, WhatsApp automatically assigns a new admin from the existing group members.
This new admin is chosen randomly by WhatsApp. If there are multiple admins, the group will continue with the remaining admins.