qnli question: WHen did the Piast dynasty appear? sentence: The prior social structure was one of Polish tribes united into the historic Polish nation under a state ruled by the Piast dynasty, this dynasty appearing circa 850 A.D.