Compare and contrast the Chinese government bureaucracy under the Tang and Song dynasties. How was it similar? How did it differ?

short answer only.

Similarities:

- Both dynasties had a centralized bureaucracy that was responsible for managing the vast empire.
- Bureaucrats were selected through a merit-based civil service exam system.

Differences:
- The Tang dynasty had a more rigid and hierarchical bureaucracy, with officials appointed by the emperor and little room for upward mobility.
- The Song dynasty had a more flexible and organized bureaucracy, with officials selected based on their performance in civil service exams and opportunities for advancement based on merit.