During the rule of Prince Shotoku (7Th century AD). He was a great admirer of China and Buddhism flourished in his court. Although both Shinto and Buddhism maintained their separate ideas, Buddhism adapted well because it appealed to the Japanese spiritual mindset.