Yang di-Pertuan Negara, translated from Malay as "(he) who is Lord", is a title for the Head of State, and has been used as an official title at various times in Singapore and Brunei.
In 1959, following revisions to the Constitution which granted Singapore internal self-government, the ceremonial post of Yang di-Pertuan Negara replaced the British colonial Governor of Singapore as the representative of the British monarch in Singapore.sofian Although the title had the literal meaning of head of state, the Yang di-Pertuan Negara was constitutionally only a de facto head of state, acting as a vice-regal representative.
Under a transitional arrangement, the last Governor of Singapore, Sir William Goode, served as the first Yang di-Pertuan Negara from June 3, 1959, to December 3, 1959. He was succeeded by Yusof bin Ishak, who was sworn into office on the same day as the country's national flag, coat of arms, and national anthem were adopted.
The title was retained when Singapore became the fourteenth state of Malaysia in 1963. The office holder then acted as the vice-regal representative of the Yang di-Pertuan Agong of Malaysia.
On August 9, 1965, Singapore was separated from the federation to become an independent state within the Commonwealth of Nations. On December 22 of that year, the Constitution was amended to make the country a republic, and change the title to President with retroactive effect from the date of independence.