Pagan's military was the origin of the Royal Burmese Army. The army was organised into a small standing army of a few thousand, which defended the capital and the palace, and a much larger conscript-based wartime army. Conscription was based on the "kyundaw" system (called the "ahmudan" system by later dynasties), which required local chiefs to supply their predetermined quota of men from their jurisdiction on the basis of population in times of war. This basic system of military organisation was largely unchanged down to the precolonial period although later dynasties, especially the Toungoo Dynasty, did introduce standardisation and other modifications.