The latter was built by Shogun Ieyasu Tokugawa to split and counteract the powerful influence of Nishi-Honganji , which had attracted thousands of followers with its free-wheeling it allowed priests to marry and have children , permitted the eating of meat , and renounced traditional ascetic practices .
The former was built by Shogun Ieyasu Tokugawa .