In 1877, Skopje was chosen as the capital city of the new Kosovo Vilayet, which encompassed present-day Kosovo, northwestern Macedonia and the Sanjak of Novi Pazar. In 1905, the city had 32,000 inhabitants, making it the largest of the vilayet, although closely followed by Prizren with its 30,000 inhabitants. German linguist Gustav Weigand described that the Skopje Muslim population of "Turks" or Ottomans (Osmanli) during the late Ottoman period were mainly Albanians that spoke Turkish in public and Albanian at home. At the beginning of the 20th century, local economy was focused on dyeing, weaving, tanning, ironworks and wine and flour processing.