Upon the declaration of the Republic of South Africa on 31 May 1961, the office of State President was created.[4] It was originally a ceremonial post, but became an executive post in 1984 when a new constitution abolished the post of Prime Minister and transferred its powers to the state president.