Several different West Slavic tribes inhabited most of the area of present-day Poland from the 6th century. Duke Mieszko I of the Polans, from his stronghold in the Gniezno area, united various neighboring tribes in the second half of the 10th century, forming the first Polish state and becoming the first historically recorded Piast duke. His realm roughly included all of the area of what would later be named the "Recovered Territories", except for the Warmian-Masurian part of Old Prussia and eastern Lusatia.