After he was deliberately adopted by his grandfather Kanemi YOSHIDA in 1599 according to Kanemi's plan, he held the position of clerical worker at Toyokuni-jinja Shrine (Kyoto City), where Hideyoshi TOYOTOMI was enshrined, and came to use the family name Hagiwara.
1599年（慶長4年）、祖父吉田兼見の画策により兼見の養子となり、豊臣秀吉を祀る豊国神社(京都市)の社務職に就任し萩原を名乗る。