The introduction of Buddhism to Japan is attributed to the Baekje king Seong in 538, exposing Japan to a new body of religious doctrine. The Soga clan, a Japanese court family that rose to prominence with the ascension of the Emperor Kinmei about 531, favored the adoption of Buddhism and of governmental and cultural models based on Chinese Confucianism. But some at the Yamato court—such as the Nakatomi family, which was responsible for performing Shinto rituals at court, and the Mononobe, a military clan—were set on maintaining their prerogatives and resisted the alien religious influence of Buddhism. The Soga introduced Chinese-modeled fiscal policies, established the first national treasury, and considered the kingdoms of Korea as trade partners rather than as objects of territorial expansion. Acrimony continued between the Soga and the Nakatomi and Mononobe clans for more than a century, during which the Soga temporarily emerged ascendant.