Hugh's son – Robert the Pious – was crowned King of the Franks before Capet's demise. Hugh Capet decided so in order to have his succession secured. Robert II, as King of the Franks, met Holy Roman Emperor Henry II in 1023 on the borderline. They agreed to end all claims over each other's realm, setting a new stage of Capetian and Ottonian relationships. Although a king weak in power, Robert II's efforts were considerable. His surviving charters imply he relied heavily on the Church to rule France, much like his father did. Although he lived with a mistress – Bertha of Burgundy – and was excommunicated because of this, he was regarded as a model of piety for monks (hence his nickname, Robert the Pious). The reign of Robert II was quite important because it involved the Peace and Truce of God (beginning in 989) and the Cluniac Reforms.