Today, Taiwan maintains a large and technologically advanced military, mainly as a defence to the constant threat of invasion by the People's Liberation Army using the Anti-Secession Law of the People's Republic of China as a pretext. This law authorizes the use of military force when certain conditions are met, such as a danger to mainlanders.