Yang Jian is a mythical figure, not a historical figure, and does not belong to a historical dynasty.
Yang Jian, in the legend, is the name of Erlang Shen, also known as Qingyuan Miaodao Zhenjun, Guankou Erlang, Guankou Shen, King of Chicheng, King Zhaohui Lingxian, Emperor Huimin, Lord of Wantianchuan Qing Yuanmiao Dao Erlang showed his sage and true emperor to worship the great emperor Huimin, and Qingyuan Miaodao's true monarch protected the country. The powerful spirit of the Sichuan and Shu emperor manifested as Tianzun. In ancient Chinese legends and folk belief in gods, they are not only powerful, good at hunting and fighting, but also upright. Be benevolent and righteous, eliminate harm for the people, show holiness and protect the people.
Erlang God has been recorded as far back as the Tang Dynasty. During the Five Dynasties, he served as King Lingying to protect the country of Shu. During the Song and Song Dynasties, it continued to develop and the belief flourished. Since the Song and Yuan Dynasties, official titles have been granted. During the Ming and Qing Dynasties, The spread of folk religion and literary novels among the people makes them more widespread and profound.
Extended information
The written record of Erlang Shen was first seen in the Tang Dynasty. According to Cui Lingqin's "Jiaofang Ji", in the early Tang Dynasty, court musicians sang Erlang Shen based on folk greetings to entertain the gods during games. The tune of "Erlang Shen" was made into the lyrics of "Erlang Shen", which shows that a god named Erlangshen already appeared in the Tang Dynasty. During the Five Dynasties, there was a dance "Guankou Divine Team" with the theme of Erlang God in the Shu Palace.
Erlang God is an important god in ancient Chinese folk beliefs. In the long historical evolution, different Erlang Gods have been produced, including Li Erlang, the second son of Li Bing who is worshiped by the state, and Zhao Yu and Zhao Erlang, who are orthodox in Taoism. And the folk legend Yang Erlang (Yang Jian).
Baidu Encyclopedia-Erlang Shen
Baidu Encyclopedia-Yang Jian