Yes, Fredrick Ebert was the German first president elected in 1919. The Germany was called at that time the German Republic or Weirmar Republic. Ebert was elected by the National Assembly in the first round of voting by 277 of 379 votes. The way of the presidential election was because the German Republic constitution with the rules of a direct popular vote, wasn't completed yet. Therefore it was done by the Members of the National Assembly only. However it is a kind of the democracy and that's the reason for using of the word "democratically" in the book. It means that Ebert was elected by voting in the democratic way.