On July 14, 1987, the KMT government lifts martial law on Taiwan's territories except Jinmen (Quemoy) and Matsu (which remain under martial law until 1992), following the passage of the National Security Law on June 23 that prohibits advocating communism and Taiwan separatism.