In 1910, when the Portuguese monarchy ended, the Republic of Portugal abolished all the orders except the Order of the Tower and Sword. However, in 1917, at the end of the Great War, some of these orders were re-established as mere orders of merit to reward outstanding services to the state, the office of grand master belonging to the head of state, the President of the Republic. The Military Order of Aviz, together with the other Portuguese Orders of Merit, had its statutes revised on several occasions, during the First Republic (1910–1926), then in 1962, and again in 1986.