Which system did the Tang imperium recreate