Very often a demerge comes before an acquisition. Example, a fund could buy a huge group/conglomerate made of various companies, and then sell each companies separately. Each company sold is merged to another group but demerged from its original group.