was a Japanese samurai in the service of the Tokugawa shogunate. During the reign of Tokugawa Yoshimune, as a magistrate () of Edo, his roles included chief of police, judge and jury, and Yamada Magistrate () prior to his tenure as South Magistrate (Minami Machi-bugyō) of Edo. With the title Echizen no Kami (Governor of Echizen or Lord of the Echizen), he is often known as . He was highly respected as an incorruptible judge. In addition, he established the first fire brigade made up of commoners, and the Koishikawa Yojosho (a city hospital). Later, he advanced to the position of , and subsequently became of the Nishi-Ōhira Domain (10,000 koku). Ōoka was born in 1677, but did not come into public notice until he was 35, when he was appointed an obscure judgeship. When he accepted this job, he found out that there was a long-standing boundary dispute between the farmers of the Yamada and Wakayama (Kishū) fiefs. While it was obvious that the Yamada claim was the just one, no previous judge had been foolish enough to irritate Yoshimune, Lord of Kishū, as he was very close to the shogun, Tokugawa Ietsugu. However, Ōoka took up the case, and immediately settled it on its merits. Ooka resolved the long-standing dispute between the farmers of Yamada and Wakayama, which is also known as the "Case of the Inherited Rice Fields." According to the story, the dispute began in the early 18th century when the lord of the Wakayama domain granted some rice fields to a group of farmers in the Yamada region. However, the grant was ambiguous, and there was confusion over the exact boundaries of the fields and who had the right to use them. The dispute continued for several generations, and the farmers of both regions became embroiled in bitter arguments and legal battles. When Ooka Tadasuke was appointed as the magistrate of the region, he was tasked with resolving the dispute once and for all. After carefully studying the case and listening to the arguments of both sides, Ooka came up with a unique solution that satisfied everyone. He ordered the farmers of both Yamada and Wakayama to plant their rice fields with red beans instead of rice. He then declared that whichever side produced a better harvest of red beans would be declared the rightful owners of the disputed rice fields. The farmers of Yamada