Later, he served the imperial court working in various positions such as Gyosei-Torishirabe-gakari (poetry teacher for the imperial family), Shoten (conductor of court ceremonies), ad hoc member for compiling poems by Emperor Meiji, Outadokoro-sanko (official of the Imperial Poetry Bureau) and Outakai-bugyo (superintendent of the Imperial Poetry Reading Party).
後に宮中に仕え、御製取調掛・掌典・明治天皇御製臨時編纂部員・御歌所参候・御歌会始奉行等を歴任する。