Yu the Great (c. 2123 – 2025 BC), also known as Yu the Engineer, was a legendary ruler in ancient China who was famed for his introduction of flood control, his establishment of the Xia dynasty which inaugurated dynastic rule in China, and his upright moral character.