新唐書
Ouyang Xiu, the author of the "New Book of Tang", asserts that the Tang dynasty inherited its bureaucracy from its dynastic predecessor, the Sui Dynasty, under which the founder Emperor Wen of Sui divided his government into five main bureaus: