Destructive floods in 1862 and 1878 prompted various flood control measures, including the 11 miles long Tule Canal (completed in 1864) along the eastern edge of the present-day Yolo Bypass; and the Elkhorn Weir (1897–1917), downstream of the confluence of the Feather and Sacramento Rivers.