Finally in 1937 Iran and Iraq signed their first boundary treaty. The treaty established the waterway border on the eastern bank of the river except for a four-mile anchorage zone near Abadan, which was allotted to Iran and where the border ran along the thalweg.