The Piast dynasty was the first historical ruling dynasty of Poland.[3] The first documented Polish monarch was Duke Mieszko I (c. 930–992).[4] The Piasts' royal rule in Poland ended in 1370 with the death of king Casimir III the Great.