Formulate an answer to this elaborate question: Between what two centuries were the Szlachta pirveleges, which formed the cornerstone of the Polish political system, granted?
14th and early 16th centuries