In the sixteenth century, the Uzbeks established two strong rival khanates, Bukhoro and Khorazm. In this period, the Silk Road cities began to decline as ocean trade flourished. The khanates were isolated by wars with Iran and weakened by attacks from northern nomads.