Branches of the Piast dynasty continued to rule in the Duchy of Masovia and in the Duchies of Silesia, until the last male Silesian Piast died in 1675. The Piasts intermarried with several noble lines of Europe, and possessed numerous titles, some within the Holy Roman Empire.
Origin of the name
The early dukes and kings of Poland regarded themselves as descendants of the semi-legendary Piast the Wheelwright (Piast Kołodziej), first mentioned in the Cronicae et gesta ducum sive principum Polonorum (Chronicles and deeds of the dukes or princes of the Poles), written c. 1113 by Gallus Anonymus. However, the term "Piast Dynasty" was not applied until the 17th century. In a historical work the expression Piast dynasty was introduced by the Polish historian Adam Naruszewicz, it is not documented in contemporary sources.