The city was built by al-Hajjaj ibn Yusuf in c. 702 CE on the west bank of the Tigris across from the historical city of Kashkar. Al-Hajjaj is said to have taken the doors for the citadel and the main mosque from Zanzaward. Al-Hajjaj died in Wasit in 714.
To quote UNESCO:
Wasit is an Islamic city built in the last quarter of the first Hijri century (7th century CE) by Al-Hajaj bin Yousif Al-Thaqafi, as an administrative centre for Iraq. As an ancient city its circumference is 16 kilometres. It was abandoned in the tenth Hijri century (16th century CE), after the change in the course of the river (Tigris. Its remains stood sound and safe due to its distance from constructive and agricultural influence. Most of its buildings are of bricks. A survey was carried out from 1936 to 1942, and another in 1985. The large mosque was cleared out in four stages from the seventh hijri, to the first hijri century, with some parts of its emirate house which is next to the mosque at the qibli side. A building known as the minaret was excavated, including a tomb and a school dating back to the seventh hijri century, a residence district was also cleared out in the late 1930s. Conservation has been carried out on some parts of the minaret due to the walls been worn out, but no real maintenance has been undertaken.