 The first written mention of the city was in an Ottoman cadastral survey ("defter") in 1476 after the city's incorporation into the Sanjak of Smederevo.Referred to as 'Kraguyfoça', the settlement, after Ottoman conquest, consisted of a square formerly used as a market with 32 houses.The surrounding region was largely empty; even the forests that once dominated the region had been burned.