Which group collected taxes, and how did the government use the taxes to benefit the city–state or nation?

The royal officials collected taxes, which paid for public works projects.

The king collected taxes, which were used to pay warriors for military defense.

The royal priests collected taxes, which were used to pay scribes and high priests.

The nobles collected taxes, which paid for large building projects.