Collaborating with Hou Ji, a semi-mythical agricultural master about whom little is concretely known, Yu successfully devised a system of flood controls that were crucial in establishing the prosperity of the Chinese heartland. Instead of directly damming the rivers' flow, Yu made a system of irrigation canals which relieved floodwater into fields, as well as spending great effort dredging the riverbeds. Yu is said to have eaten and slept with the common workers and spent most of his time personally assisting the work of dredging the silty beds of the rivers for the thirteen years the projects took to complete. The dredging and irrigation were successful, and allowed ancient Chinese culture to flourish along the Yellow River, Wei River, and other waterways of the Chinese heartland. The project earned Yu renown throughout Chinese history, and is referred to in Chinese history as Great Yu Controls the Waters (). In particular, Mount Longmen along the Yellow River had a very narrow channel which blocked water from flowing freely east toward the ocean. Yu is said to have brought a large number of workers to open up this channel, which has been known ever since as Yu's Gateway ().