When Ceylon became the Republic of Sri Lanka on 22 May 1972, Gopallawa became the first President. He stepped down from office in February 1978 when then Prime Minister Junius Richard Jayewardene became President following constitutional changes that effected the creation of an executive Presidency.
The Answer Is Ferns I Think