Passage: Opposition to Abe increased within fudai circles, which opposed opening shogunate councils to tozama daimyōs, and he was replaced in 1855 as chairman of the senior councilors by Hotta Masayoshi (1810–1864). At the head of the dissident faction was Tokugawa Nariaki, who had long embraced a militant loyalty to the emperor along with anti-foreign sentiments, and who had been put in charge of national defense in 1854. The Mito school—based on neo-Confucian and Shinto principles—had as its goal the restoration of the imperial institution, the turning back of the West.

Question: What religions were the principles of the school based on?
neo-Confucian and Shinto