Answer
Karl Marx served as the university rector in Bonn during the academic year of 1848-1849, not 1917-1918 as it was erroneously mentioned earlier. This brief tenure marked a significant period in his life and career, where he not only fulfilled his administrative duties but also continued his groundbreaking philosophical and revolutionary work.