On 23 May 1979 , Carstens was elected as the fifth President of the Federal Republic of Germany , prevailing against the SPD candidate Annemarie Renger in the first ballot .
On 23 May 1979 Carstens was elected as President of the Federal Republic of Germany .