In the 6th century BC, the marquis of Ji (紀) had a dispute with Duke Ai of Qi. King Yi of Zhou sided with Marquis of Ji and executed Duke Ai by boiling him to death. King Yi installed Duke Ai's younger half-brother Jing on the throne, later known as Duke Hu of Qi. After the incident, Ji formed an alliance with Lu. In 699 BCE, the armies of Lu, Ji, and Zheng defeated the armies of Qi, Song, Wei, and Southern Yan. The battle resulted in the dismantling of Qi hegemony, but also led to rising tensions between Ji and Qi. Duke Huan of Lu tried to end the hostilities between Ji and Qi in 695 BCE, but Duke Xiang of Qi ordered the Qi Army to invade Ji in 693 BCE. After Duke Huan of Lu and a Zheng prince was murdered by Duke Xiang of Qi, Ji's allies Lu and Zheng lost the ability to assist Ji in defending a Qi invasion. The capital city of Ji was occupied by Qi forces in 690 BCE after the ruler of Ji surrendered the city to the Qi monarch.[1][2][3][4]