In 1601, after the Battle of Sekigahara during the Keicho era, he was given fiefs amounting to 6,600 koku in three districts of Mikawa Province, and at the same time he was appointed as the Kyoto machi-bugyo (town magistrate of Kyoto) (and later the Kyoto Shoshidai); he assumed responsibility for maintaining security in the city of Kyoto, reporting on developments at the Imperial Court, and monitoring the Toyotomi family of Osaka-jo Castle.
関ヶ原の戦い後の1601年（慶長6年）、三河国3郡に6,600石を与えられるとともに京都町奉行（のち京都所司代）に任命され、京都の治安維持と朝廷の掌握、さらに大坂城の豊臣家の監視に当たった。