Answer
Wei Yan lived during the Three Kingdoms period, a turbulent era in Chinese history from 220 to 280 AD. This period was marked by the division of China into three rival kingdoms: Wei, Shu, and Wu. Wei Yan was a general who served the Shu kingdom under the renowned warlord Liu Bei. He was known for his bravery, military prowess, and loyalty to his lord.