The Vilayet of Kosovo was created in 1877, and consisted of a much larger area than modern Kosovo, as it also included the Sanjak of Novi Pazar, the Sanjak of Niş (until 1878), the region around Plav and Gusinje as well as the Dibra region. These regions had belonged to the former Eyalet of Niş, the Eyalet of Üsküb and, after 1865, the Danube Vilayet. In 1868 the Vilayet of Prizren was created with the sanjaks of Prizren, Dibra, Skopje and Nis, but it ceased to exist in 1877.