夏朝
The Xixia or Western Xia dynasty controlled much of Gansu as well as Ningxia.