After the death of the Emperor Shotoku and the fall of Dokyo, however, Naiju system was abolished together with Naijusho and its jobs were allocated to various offices in 772.
ところが、称徳天皇の崩御と道鏡の失脚に伴い、宝亀3年（772年）に内豎は内豎省ともども廃止されて、各衛府に分割された。