Tang, Yuangfang