Input (grade 9): Tokugawa Yoshimune was the eighth shogun of the Tokugawa shogunate of Japan, ruling from 1716 until his abdication in 1745.
Output (grade 2): He was the eighth shogun of the Tokugawa shogunate. He ruled from 1716 until he resigned in 1745.