 Complete the following phrase:  The history of Grybów dates back to the Early Middle Ages in Poland, when the settlement belonged to the Castelany in Biecz under King Casimir III the Great of the Piast dynasty. The town charter was issued by Kazimierz on May 15, 1340 for Hanko Bogacz, following destruction caused by the 