In 1852, the Royal Siamese Armed Forces came into existence as permanent force at the behest of King Mongkut, who needed a European trained military force to thwart any Western threat and any attempts at colonialisation. By 1887, during the next reign of King Chulalongkorn, a permanent military command in the "Kalahom" Department was established. The office of "Kalahom", as a permanent office of war department, was established by King Borommatrailokkanat (1431–1488) in the mid-15th century during the Ayutthaya Kingdom. Siam's history of organized warfare is thus one of Asia's longest and uninterrupted military traditions. However, since 1932, when the military, with the help of civilians, overthrew the system of absolute monarchy and instead created a constitutional system, the military has dominated and been in control of Thai politics, providing it with many prime ministers and carrying out many coups d'état, the most recent being in 2014.