Complex sentence: The special status of Transylvania and the Military Frontier ended: a new Nationalities Law was intended to preserve the rights of ethnic minorities, but was often violated in practice.
Split into simpler sentences: The special status of Transylvania and the Military Frontier ended. A new Nationalities Law was adopted to preserve the rights of ethnic minorities, but was often violated in practice.