During Henry I's lifetime, William was invested as Duke of Normandy, a title he held more in name than in practice. Henry made the investiture when he was pressed by the king of France, Louis VI, to do homage as Duke of Normandy. As a king in his own right, Henry was loath to comply, and in 1115 he offered to have William do this in his stead. This offer was eventually accepted in 1120, after an intervening period of war, and William did homage to Louis VI in the middle of 1120. For this reason William is sometimes counted as Duke of Normandy (as either William III or William IV). William received, as the heir to the throne, the homage and fealty of the barons of Normandy in 1115 and of the barons of England in March 1116.