Question: The Guandi Temple is dedicated to a general that served under what warlord?

Context articles: Gongsun Gong
Ma Dai
Ma Chao
Guandi Temple
Lü Xiang
Feng Yuxiang
Temple of Derr
Guan Yu
Jia Xu
Li You (general)

Gongsun Gong (birth and death dates unknown) was a minor warlord who lived in the late Eastern Han dynasty and early Three Kingdoms period of China.
 He was a son of Gongsun Du and a younger brother of Gongsun Kang, who both consecutively served as the Administrators of Liaodong Commandery in northeastern China.
 In 207, he advised his brother Gongsun Kang to execute the warlords Yuan Xi and Yuan Shang, who had fled to Liaodong Commandery for shelter after their defeat by the warlord Cao Cao.
 Gongsun Kang did so and sent the Yuans' heads to Cao Cao.
 After Gongsun Kang died, Gongsun Gong succeeded his brother as the new Administrator of Liaodong Commandery because Gongsun Kang's sons were too young at the time to assume the office.
 Gongsun Gong remained as a vassal of the Eastern Han dynasty and later pledged allegiance to the Cao Wei state, which replaced the Eastern Han dynasty in 220.
 In the same year, the Wei emperor Cao Pi granted Gongsun Gong the nominal appointment of General of Chariots and Cavalry (車騎將軍).
 In 228, Gongsun Yuan, Gongsun Kang's son, seized power from his uncle Gongsun Gong and put him in prison.
 Gongsun Yuan then started a rebellion against Wei, but the rebellion was suppressed by the Wei general Sima Yi in 238.
 Gongsun Gong was released after that.
 His eventual fate is unknown.
Ma Dai (birth and death dates unknown) was a military general of the state of Shu Han during the Three Kingdoms period.
 He previously served under his uncle Ma Teng, a warlord in northwestern China, during the late Eastern Han dynasty.
 After Ma Teng's death, he followed his cousin Ma Chao (Ma Teng's eldest son) and they joined the warlord Zhang Lu in Hanzhong for a short period of time.
 Ma Chao later defected to another warlord Liu Bei, and Ma Dai accompanied him.
 Ma Dai served under Liu Bei and later in the state of Shu Han (founded by Liu Bei).
Ma Chao (176–222), courtesy name Mengqi, was a military general and warlord who lived in the late Eastern Han dynasty and early Three Kingdoms period.
 A descendant of the general Ma Yuan, Ma Chao was the eldest son of Ma Teng, a prominent warlord in Liang Province (covering parts of northwestern China).
 In 211, he formed a coalition with Han Sui and other northwestern warlords and revolted against the Han central government, which was led by the warlord Cao Cao.
 The coalition broke up after losing the Battle of Tong Pass against Cao Cao's forces.
 Ma Chao initially retreated, but later returned to attack and seize control of Liang Province by killing the provincial inspector Wei Kang and forcing Wei Kang's subordinates to submit to him.
 About a year after Ma Chao started his uprising, Emperor Xian issued an imperial decree ordering the execution of Ma Chao's family members, who were in Ye city at the time.
 In the meantime, Wei Kang's subordinates, led by Zhao Ang, Yang Fu and others, rebelled against Ma Chao and forced him out of Liang Province.
 Ma Chao retreated to Hanzhong Commandery, where he borrowed troops from the warlord Zhang Lu, and returned to attack Liang Province but was ultimately defeated and driven back.
 Ma Chao took shelter under Zhang Lu for a while until around 214, when he heard that the warlord Liu Bei was fighting for control over Yi Province (covering present-day Sichuan and Chongqing) with Yi Province's governor, Liu Zhang.
 He defected to Liu Bei's side and assisted Liu Bei in capturing Yi Province from Liu Zhang.
 Ma Chao had served as a general under Liu Bei since then and participated in the Hanzhong Campaign in 219.
 He died in 222.
The Guandi Temple on Communist Youth League Street () is a historical temple dedicated to Guan Yu in the Tianqiao district of Jinan, Shandong Province, China.
 It is one of the three best-preserved Guanyu temples in the area of Jinan, the other two are Guandi Temple (Water Lily Street) in the Water Lily Street and in Xianxi Alley (县西巷).
Lü Xiang was a military general serving under the warlord Yuan Shao during the late Han Dynasty period of Chinese history.
 He was the brother of Lü Kuang, who also served under Yuan Shao.
 The brothers surrendered to Cao Cao after Yuan Shao's death.
 They joined Cao Cao's general Cao Ren in attacking the warlord Liu Bei at Xinye but were defeated.
 Lü Xiang was slain by Zhang Fei in that battle.
Feng Yuxiang (; ] ; 6 November 1882 – 1 September 1948) was a warlord and leader in Republican China from Chaohu, Anhui.
 He served as Vice Premier of the Republic of China from 1928 to 1930.
 He was also known as the "Christian General" for his zeal to convert his troops and the "Betrayal General" for his penchant to break with the establishment.
 In 1911, he was an officer in the ranks of Yuan Shikai's Beiyang Army but joined forces with revolutionaries against the Qing Dynasty.
 He rose to high rank within Wu Peifu's Zhili warlord faction but launched the Beijing coup in 1924 that knocked Zhili out of power and brought Sun Yat-sen to Beijing.
 He joined the Nationalist Party (KMT), supported the Northern Expedition and became blood brothers with Chiang Kai-shek, but resisted Chiang's consolidation of power in the Central Plains War, and broke with Chiang again in resisting Japanese incursions in 1933.
 He spent his later years supporting the Revolutionary Committee of the Kuomintang.
The Temple of Derr or el-Derr is a "speos" or rock-cut Egyptian temple in Lower Nubia.
 It was built during the 19th Dynasty by Pharaoh Ramesses II.
 It is the only rock-cut temple in Nubia which was constructed by this pharaoh on the right (or east) bank of the Nile and used to stand at el-Derr.
 The temple's unique position "was probably because the river on its approach to the Korosko bend flows in an 'unnatural' southeasterly direction."
 The Derr structure was known in ancient times as 'The "Temple of Ri'amsese-meryamun" [Ramesses II] "in the Domain of Re" ' and was dedicated to the god Ra-Horakhty.
 Scholars disagree over its precise construction date: the French Egyptologist Nicolas Grimal states that it was built in the thirteenth year of Ramesses II, presumably to coincide with his first royal jubilee.
 In contrast, John Baines and Jaromír Málek write that the temple of Derr "was built in the second half of the king's reign", likely because its "plan and decoration resembles the Great Temple of Abu Simbel (minus the colossal seated statues against the facade)."
 Abu Simbel was built between Year 24 and Year 31 of Ramesses' reign.
 According to Joyce Tyldesley, the Temple of Derr was built by Setau, who is known to have served as Ramesses' Viceroy of Kush or Nubia between Year 38 to 63 of this pharaoh's reign.
Guan Yu (died 220 CE), courtesy name Yunchang, was a general serving under the warlord Liu Bei in the late Eastern Han dynasty.
 He played a significant role in the events that led to the collapse of the dynasty and the establishment of the state of Shu Han – founded by Liu Bei – in the Three Kingdoms period.
 After Liu Bei gained control of Yi Province in 214, Guan Yu remained in Jing Province to govern and defend the area for about seven years.
 In 219, while he was away fighting Cao Cao's forces at the Battle of Fancheng, Liu Bei's ally Sun Quan broke the Sun–Liu alliance and sent his general Lü Meng to invade and conquer Liu Bei's territories in Jing Province in a stealth operation.
 By the time Guan Yu found out about the loss of Jing Province after his defeat at Fancheng, it was too late.
 He was subsequently captured in an ambush by Sun Quan's forces and executed.
Jia Xu (147 – 11 August 223), courtesy name Wenhe, was an official of the state of Cao Wei in the Three Kingdoms period.
 He started his career in the late Eastern Han dynasty as a minor official.
 In 189, when the warlord Dong Zhuo took control of the Han central government, he assigned Jia Xu to the unit led by Niu Fu, his son-in-law.
 In 192, after Dong Zhuo was assassinated by Lü Bu, Jia Xu advised Li Jue, Guo Si and Dong Zhuo's loyalists to fight back and seize control of the imperial capital, Chang'an, from a new central government headed by Lü Bu and Wang Yun.
 After Li Jue and the others defeated Lü Bu and occupied Chang'an, Jia Xu served under the central government led by them.
 During this time, he ensured the safety of the figurehead Han emperor, Emperor Xian, who was being held hostage by Li Jue.
 He also attempted to prevent internal conflict between Li Jue and Guo Si, but with limited success.
 After Emperor Xian escaped from Chang'an, Jia Xu left Li Jue and briefly joined the general Duan Wei before becoming a strategist of the warlord Zhang Xiu.
 While serving under Zhang Xiu, he advised his lord on how to counter invasions by the warlord Cao Cao, who had received Emperor Xian in 196 and taken control of the central government.
 In 200, during the Battle of Guandu between Cao Cao and his rival Yuan Shao, Jia Xu urged Zhang Xiu to reject Yuan Shao's offer to form an alliance and instead surrender to Cao Cao.
 Zhang Xiu heeded his advice.
 Jia Xu then became one of Cao Cao's strategists.
Li You (李祐) (died June 22, 829), courtesy name Qingzhi (慶之), was a general of the Chinese dynasty Tang Dynasty.
 He started his career serving under the warlord Wu Yuanji but, after his capture by the imperial general Li Su in Li Su's campaign against Wu, became instrumental in Li Su's victory over Wu.
 He subsequently served the imperial government until his death immediately following his campaign against the warlord Li Tongjie.