Chulalongkorn had established a defence ministry in 1887. The ending of the corvée system necessitated the beginning of military conscription, thus the Conscription Act of 1905 in Siam. This was followed in 1907 by the first act providing for invoking martial law,