Input (grade 13): Friedrich Ebert (4 February 1871 28 February 1925) was a German politician (SPD), who served as Chancellor of Germany and its first president during the Weimar period.
Output (grade 8): He was Chancellor of Germany and its first president during the Weimar period.