In the 13th century, Wrocław was the political centre of the divided Polish kingdom. In April 1241, during the First Mongol invasion of Poland, the city was abandoned by its inhabitants and burnt down for strategic reasons. During the battles with the Mongols was successfully defended by Henry II the Pious.