Arrange these events related to the development of religion in Japan in the order in which they occurred. 
Prince Shōtoku establishes a government based on the principles of Buddhism and Confucianism. 
Shinto priests opposed the spread of Buddhism in Japan. 
The Shinto religion developed in Japan. A Japanese emperor received Buddhist scriptures as a gift from a Korean king.