In 1288 it 's called city ( civitas ) in documents of Prince of Legnica Henryk V Gruby . In 1333 in gained the status of a city ( civitas ) . It was already called a civitas in a 1288 document issued by the Piast duke Henry V of Legnica , and officially received town privileges in 1333 .