Get a Japanese Tutor
to write down
(そのため 古くに 両里戦いあわぬよう) やくじょう しるし (服部家と約定を結び) その標として ほこら 里の境に祠を建てておるとの ことにございます
Many years ago, so that they would not fight... the first Hattori Hanzo swore them to a pledge... symbolized by a stone set up on the border between their lands.
やくじょう しるし (服部家と約定を結び) その標として ほこら 里の境に祠を建てておるとの ことにございます うわさ (噂によれば)
It is said that because of this, in order to keep both villages from fighting, in order to keep both villages from fighting, they were made to enter into a pact with the house of Hattori, and as a token of this, a shrine was erected at the boundary of their villages. a shrine was erected at the boundary of their villages.