Complex sentence: All marriages that are under the rules of polygamy were considered to be illegal, however the marriages that were intact before the new law were able to stay intact.
Split into simpler sentences: All marriages that are under the rules of polygamy were considered to be illegal. However, the marriages that were intact before the new law were able to stay intact.