Panglima is a military title used in Malay nations (e.g. Indonesia, Malaysia). It means 'a commander of a body of troops'. In the past it is used to call some prominent military leaders in several kingdoms, such as Panglima Polem from Aceh. In modern times it is reserved for the chiefs of the armed forces of Indonesia and Malaysia and some other posts.
Per Indonesian Constitution the President of Indonesia is the Supreme Commander of Indonesian Armed Forces (Panglima Tertinggi Angkatan Bersenjata Republik Indonesia). Essentially it is parallel to the title 'Commander-in-Chief' in other countries, e.g. the United States.
During the Old Order era, this title is included into many honorific titles that were often mentioned each time Sukarno's name was written or read in speeches, edicts, or news.
In Indonesian National Armed Forces the highest position overseeing the three branches - Army, Navy, Air Force - is called Panglima Tentara National Indonesia ('Commander of the Indonesian National Armed Forces'). Before the separation of the National Police from the Armed forces in 2000, the Armed Forces consisted of four branches. The Armed Forces were named Angkatan Bersenjata Republik Indonesia, which comprised TNI and the Police. The commander of the Armed Forces was called Panglima ABRI accordingly, or usually known with the acronym Pangab.
According to the revised Constitution Panglima TNI is appointed by the President after confirmed by DPR. Before the Constitution was amended in 2002, the President had the prerogative right to appoint or dismiss the 'Panglima' at his pleasure.
The honorific title Panglima Besar, meaning 'Grand Commander' was bestowed informally upon Sudirman, the first Commander of the Armed Forces and legendary leader of guerilla war during Indonesian National Revolution (1945–1949).