Complex sentence: The ROC regained its footing in Taiwan but practiced martial law until July 1987.
Split into simpler sentences: The ROC regained its footing in Taiwan. KMT practiced martial law until July 1987.