What did the scribal bureaucracy become?