Szlachta:

Another theory describes its derivation from a non-Slavic warrior class,:42, 64–66 forming a distinct element known as the Lechici/Lekhi (Lechitów):430 :482 within the ancient Polonic tribal groupings (Indo-European caste systems). This hypothesis states this upper class was not of Slavonic extraction:482 and was of a different origin than the Slavonic peasants (kmiecie; Latin: cmethones):430 :118 over which they ruled.:482 The Szlachta were differentiated from the rural population. The nobleman's sense of distinction led to practices that in later periods would be characterized as racism.:233 The Szlachta were noble in the Aryan sense -- "noble" in contrast to the people over whom they ruled after coming into contact with them.:482 The szlachta traced their descent from Lech/Lekh, who probably founded the Polish kingdom in about the fifth century.:482 Lechia was the name of Poland in antiquity, and the szlachta's own name for themselves was Lechici/Lekhi.:482 An exact counterpart of Szlachta society was the Meerassee system of tenure of southern India—an aristocracy of equality—settled as conquerors among a separate race.:484 The Polish state paralleled the Roman Empire in that full rights of citizenship were limited to the szlachta. The szlachta were a caste, a military caste, as in Hindu society.

Please answer a question about this article. If the question is unanswerable, say "unanswerable". WHen did they find the polish kingdom?
about the fifth century.