Xiaoyi is a county-level city under the administration of Lüliang prefecture-level city, in Shanxi Province, China. Xiaoyi was built by the State of Jin in 594 BC, named Guayang in Spring and Autumn period. It was renamed Zhongyang in Three Kingdoms period and Yong'an in Northern Wei period. In 627 AD, It was renamed Xiaoyi by Emperor Taizong of Tang.