The Malwiya Minaret was built in the 9th century in the city of Samarra. It was part of the Great Mosque of Samarra which was the largest mosque in the world at the time.