He was the eighth shogun of the Tokugawa shogunate . He ruled from 1716 until he resigned in 1745 . Tokugawa Yoshimune was the eighth shogun of the Tokugawa shogunate of Japan , ruling from 1716 until his abdication in 1745 .