What were the two major functions of the Ottoman bureaucracy
during the Middle Ages?
To provide a set of laws that all people in the Empire must follow.
To build better military units that could not be defeated.
To provide a precise history of the Empire's efforts at expansion.
To collect taxes and keep records of everything that happened in the empire.