Question: How long was Gustav Heinemann officially the President of the Federal Republic of Germany?
Sentence (from "President of Germany"): The President of Germany, officially the President of the Federal Republic of Germany (German: "Bundespräsident der Bundesrepublik Deutschland" ), is the head of state of Germany.
Relevant evidence: Yes