There are many legends about the evolution of the festival, the most popular of which is in commemoration of Qu Yuan (340-278 BC). Qu Yuan was minister of the State of Chu and one of China's earliest poets. In face of great pressure from the powerful Qin State, he advocated enriching the country and strengthening its military forces so as to fight against the Qin. However, he was opposed by aristocrats headed by Zi Lan, and later deposed and exiled by King Huai. In his exiled days, he still cared much for his country and people and composed immortal poems including Li Sao (The Lament), Tian Wen (Heavenly Questions) and Jiu Ge (Nine Songs), which had far-reaching influences. In 278 BC, he heard the news that Qin troops had finally conquered Chu's capital, so he finished his last piece Huai Sha (Embracing Sand) and plunged himself into the Miluo River, clasping his arms to a large stone. The day happened to be the 5th of the 5th month in the Chinese lunar calendar.
After his death, the people of Chu crowded to the bank of the river to pay their respects to him. The fishermen sailed their boats up and down the river to look for his body. People threw into the water zongzi (pyramid-shaped glutinous rice dumplings wrapped in reed or bamboo leaves) and eggs to divert possible fish or shrimp from attacking his body. An old doctor poured a jug of reaglar wine (Chinese liquor seasoned with realgar) into the water, hoping to turn all aquatic beasts drunk. That's why people later followed the customs such as dragon boat racing, eating zongzi and drinking realgar wine on that day.