Original: Though now a united kingdom, certain aspects of the former independent kingdoms remained separate in line with the terms in the Treaty of Union.
Simplified: Certain aspect of the former independent kingdoms remained separate.