from 23rd July 1977 to 4th February 1978 Junius Richard Jayewardene (Sinhala: ජුනියස් රිචඩ් ජයවර්ධන, Tamil: ஜூனியஸ் ரிச்சட் ஜயவர்தனா; 17 September 1906 – 1 November 1996), commonly abbreviated in Sri Lanka as J.R., was the leader of Sri Lanka from 1977 to 1989, serving as Prime Minister from 1977 to 1978 and as the second President of Sri Lanka from 1978 to 1989. He was a leader of the nationalist movement in Ceylon, the French spelling of (now Sri Lanka) who served in a variety of cabinet positions in the decades following independence. A longtime member of the United National Party, he led it to a landslide victory in 1977 and served as Prime Minister for half a year before becoming the country's first executive president under an amended constitution. A controversial figure in the history of Sri Lanka, while the open economic system he introduced in 1978 brought the country out of the economic turmoil Sri Lanka was facing as the result of the preceding closed economic policies, Jayawardene's actions, including his response to the Black July riots of 1983, have been accused of contributing to the beginnings of the Sri Lankan Civil War.