In which dynasty was Mi Fei a calligrapher?

Mi Fei (1051~1107) was a calligrapher, painter and painting theorist in the Northern Song Dynasty in China. First named Kun, later changed to Fu, the word stamp, Xiangyang lay man, Haiyue Mountain people and so on. Originally from Taiyuan, he moved to Xiangyang, Hubei, and lived in Runzhou (now Zhenjiang, Jiangsu) for a long time. Mi Fei's fifth ancestor was Mi Xin, a scholar in the early Song Dynasty. His great-grandfather and great-grandfather were mostly Wu Zhi officials. His father's name is Zuo, the word Guangfu, and the official is Wuwei. His mother Yan is the wet nurse of Queen Gao. He used to be a school book lang, a doctor of calligraphy and painting, and a foreign minister of the Ministry of Rites. Good at poetry and calligraphy, good at seal script, official script, regular script, running script, cursive script and so on. And he is good at copying ancient calligraphy, reaching a chaotic level. At first, Ou Yangxun and Liu Gongquan learned strict fonts and strong strokes. Later, they studied with Wang Xizhi and Wang Xianzhi, their bodies developed and their brushwork became vigorous and powerful. They call themselves "calligraphy", and they are called the four great calligraphers in Song Dynasty with Su Shi, Huang Tingjian and Cai Xiang. His paintings are good at dead wood and bamboo stones, especially ink and wash landscapes. It is very creative to express the changes of mountains and rivers in the south of the Yangtze River with brush strokes, which is called the Yunshan of rice. Mi Fei's calligraphy ink handed down from generation to generation includes Mourning the Empress Dowager, Shu Su Tie, Tiaoxi Iron Stone, Bai Zhong Yue Ming Tie, Hong Xian Shi Juan, Cao Shu Jiu Tie, Duojing Lou Iron Stone and so on, but no paintings have been handed down from generation to generation. The book Mountain Forest Collection has been lost. His theory of calligraphy and painting has been dabbled and recorded in books such as History of Calligraphy, History of Painting and Zhang Bao.