文武天皇
When this government agency was initially established in 645, it functioned as a tax collector on Imperial land. The organization and functions of the Imperial Household were refined and regulated in the Taiho Code, which was promulgated in 701-702 during the reign of Emperor Monmu. The fundamental elements of this system evolved over the course of centuries, but the basic structures remained in place until the Meiji Restoration.