In March, 1105, Pope Paschal II, whose conduct throughout this controversy implies that he was not more anxious to drive matters to open warfare than was Henry, advanced so far as to proclaim the excommunication of the Count of Meulan and the other counsellors of the king, and also of those who had received investiture at his hand. This might look as if the pope were about to take up the case in earnest and would proceed shortly to excommunicate the king himself. But Anselm evidently interpreted it as the utmost which he could expect in the way of aid from Rome, and immediately determined to act for himself. He left Lyons to go to Reims, but learning on the way of the illness of the Countess of Blois, Henry's sister Adela, he went to Blois instead, and then with the countess, who had recovered, to Chartres. This brought together three persons deeply interested in this conflict and of much influence in England and with the king Anselm, who was directly concerned; the Countess Adela, a favourite with her brother and on intimate terms with him and Bishop Ivo of Chartres, who had written much and wisely on the investiture controversy. And here it seems likely were suggested, probably by Bishop Ivo, and talked over among the three, the terms of the famous compromise by which the conflict was at last ended.

Anselm had made no secret of his intention of proceeding shortly to the excommunication of Henry. The prospect excited the liveliest apprehension in the mind of the religiously disposed Countess Adela, and she bestirred herself to find some means of averting so dread a fate from her brother. Henry himself had heard of the probability with some apprehension, though of a different sort from his sister's. The respect which Anselm enjoyed throughout Normandy and northern France was so great that, as Henry looked forward to an early conquest of the duchy, he could not afford to disregard the effect upon the general feeling of an open declaration of war by the archbishop. The invitation of the king of France to Anselm, to accept an asylum within his borders, was a plain foreshadowing of what might follow.[20] Considerations of home and foreign politics alike disposed Henry to meet halfway the advances which the other side was willing to make under the lead of his sister.

With the countess, Anselm entered Normandy and met Henry at Laigle on July 21, 1105. Here the terms of the compromise, which were more than two years later adopted as binding law, were agreed upon between themselves, in their private capacity. Neither was willing at the moment to be officially bound. Anselm, while personally willing, would not formally agree to the concessions expected of him, until he had the authority of the pope to do so. Subsequent events lead us to suspect that once more Henry was temporizing. Anselm was not in good health. He was shortly after seriously ill. It is in harmony with Henry's policy throughout, and with his action in the following months, to suppose that he believed the approaching death of the archbishop would relieve him from even the slight concessions to which he professed himself willing to agree. It is not the place here to state the terms and effect of this agreement, but in substance Henry consented to abandon investiture with the ring and staff, symbols of the spiritual office; and Anselm agreed that the officers of the Church should not be excommunicated nor denied consecration if they received investiture of their actual fiefs from the hand of the king. Henry promised that an embassy should be at once despatched to Rome, to obtain the pope's consent to this arrangement, in order that Anselm, to whom the temporalities of his see were now restored, might be present at his Christmas court in England.

Delay Henry certainly gained by this move. The forms of friendly intercourse were restored between himself and Anselm. The excommunication was not pronounced. The party of the king's open enemies in Normandy, or of those who would have been glad to be his open enemies in France, if circumstances had been favourable, was deprived of support from any popular feeling of horror against an outcast of the Church. But he made no change in his conduct or plans. By the end of summer he was back in England, leaving things well under way in Normandy. Severer exactions followed in England, to raise money for new campaigns. One invention of some skilful servant of the king's seemed to the ecclesiastical historians more intolerable and dangerous than anything before. The king's justices began to draw the married clergy before the secular courts, and to fine them for their violation of the canons. By implication this would mean a legal toleration of the marriage, on payment of fines to the king, and thus it would cut into the rights of the Church in two directions. It was the trial of a spiritual offence in a secular court, and it was the virtual suspension of the law of the Church by the authority of the State. Still no embassy went to Rome. Christmas came and it had not gone. Robert of Bellême, alarmed at the plans of Henry, which were becoming evident, came over from Normandy to try to make some peaceable arrangement with the king, but was refused all terms. In January, 1106, Robert of Normandy himself came over, to get, if possible, the return of what he had lost at home; but he also could obtain nothing. All things were in Henry's hands. He could afford to refuse favours, to forget his engagements, and to encourage his servants in the invention of ingenious exactions.

But Anselm was growing impatient. New appeals to action were constantly reaching him from England. The letter of the six bishops was sent toward the close of 1105. He himself began again to hint at extreme measures, and to write menacing letters to the king's ministers. Finally, early in 1106, the embassy was actually sent to Rome. Towards the end of March the Roman curia took action on the proposal, and Anselm was informed, in a letter from the pope, that the required concessions would be allowed. The pope was disposed to give thanks that God had inclined the king's heart to obedience; yet the proposal was approved of, not as an accepted principle, but rather as a temporary expedient, until the king should be converted by the preaching of the archbishop, to respect the rights of the Church in full. But Anselm did not yet return to England. Before the envoys came back from Rome, Henry had written to him of his expectation of early crossing into Normandy. On learning that the compromise would be accepted by the pope, Henry had sent to invite him at once to England, but Anselm was then too ill to travel, and he continued so for some time. It was nearly August before Henry's third expedition actually landed in Normandy, and on the 15th of that month the king and the archbishop met at the Abbey of Bee, and the full reconciliation between them took place. Anselm could now agree to the compromise. Henry promised to make reformation in the particulars of his recent treatment of the Church, of which the archbishop complained. Then Anselm crossed to Dover, and was received with great rejoicing.

The campaign upon which Henry embarked in August ended by the close of September in a success greater than he could have anticipated. He first attacked the castle of Tinchebrai, belonging to William of Mortain, and left a fortified post there to hold it in check. As soon as the king had retired, William came to the relief of his castle, reprovisioned it, and shut up the king's men in their defences. Then Henry advanced in turn with his own forces and his allies, and began a regular siege of the castle. The next move was William's, and he summoned to his aid Duke Robert and Robert of Bellême, and all the friends they had left in Normandy. The whole of the opposing forces were thus face to face, and the fate of Normandy likely to be settled by a single conflict. Orderic, the historian of the war, notes that Henry preferred to fight rather than to withdraw, as commanded by his brother, being willing to enter upon this "more than civil war for the sake of future peace."

In the meantime, the men of religion who were present began to exert themselves to prevent so fratricidal a collision of these armies, between whose opposing ranks so many families were divided. Henry yielded to their wishes, and offered to his brother terms of reconciliation which reveal not merely his belief in the strength of his position in the country and his confidence of success, but something also of his general motive. The ardour of religious zeal which the historian makes Henry profess we may perhaps set aside, but the actual terms offered speak for themselves. Robert was to surrender to Henry all the castles and the jurisdiction and administration of the whole duchy. This being done, Henry would turn over to him, without any exertion on his part, the revenues of half the duchy to enjoy freely in the kind of life that best pleased him. If Robert had been a different sort of man, we should commend his rejection of these terms. Possibly he recalled Henry's earlier promise of a pension, and had little confidence in the certainty of revenues from this source. But Henry, knowing the men whose advice Robert would ask before answering, had probably not expected his terms to be accepted.

The battle was fought on September 28, and it was fiercely fought, the hardest fight and with the largest forces of any in which Normans or Englishmen had been engaged for forty years. The main body of both armies fought on foot. The Count of Mortain, in command of Robert's first division, charged Henry's front, but was met with a resistance which he could not overcome. In the midst of this struggle Robert's flank was charged by Henry's mounted allies, under Count Elias of Maine, and his position was cut in two. Robert of Bellême, who commanded the rear division, seeing the battle going against the duke, took to flight and left the rest of the army to its fate. This was apparently to surrender in a body. Henry reports the number of common soldiers whom he had taken as ten thousand, too large a figure, no doubt, but implying the capture of Robert's whole force. His prisoners of name comprised all the leaders of his brother's side except Robert of Bellême, including the duke himself, Edgar the English atheling, who was soon released, and William of Mortain. The victory at once made Henry master of Normandy. There could be no further question of this, and it is of interest to note that the historian, William of Malmesbury, who in his own person typifies the union of English and Norman, both in blood and in spirit, records the fact that the day was the same as that on which the Conqueror had landed forty years earlier, and regards the result as reversing that event, and as making Normandy subject to England. This was not far from its real historical meaning.

Robert clearly recognized the completeness of Henry's success. By his orders Falaise was surrendered, and the castle of Rouen; and he formally absolved the towns of Normandy in general from their allegiance to himself. At Falaise Robert's young son William, known afterwards as William Clito, was captured and brought before Henry. Not wishing himself to be held responsible for his safety, Henry turned him over to the guardianship of Elias of Saint-Saens, who had married a natural daughter of Robert's. One unsought-for result of the conquest of Normandy was that Ranulf Flambard, who was in charge of the bishopric of Lisieux, succeeded in making his peace with the king and obtained his restoration to Durham, but he never again became a king's minister. Only Robert of Bellême thought of further fighting. As a vassal of Elias, Count of Maine, he applied to him for help, and promised a long resistance with his thirty-four strong castles. Elias refused his aid, pointed out the unwisdom of such an attempt, defended Henry's motives, and advised submission, promising his good influences with Henry. This advice Robert concluded to accept. Henry, on his side, very likely had some regard to the thirty-four castles, and decided to bide his time. Peace, for the present, was made between them.

Some measures which Henry considered necessary for the security of Normandy, he did not think it wise to carry out by his own unsupported action. In the middle of October a great council of Norman barons was called to meet at Lisieux. Here it was decreed that all possessions which had been wrongfully taken from churches or other legitimate holders during the confusion of the years since the death of William the Conqueror should be restored, and all grants from the ducal domain to unworthy persons, or usurpations which Robert had not been able to prevent, were ordered to be resumed. It is of especial interest that the worst men of the prisoners taken at Tinchebrai were here condemned to perpetual imprisonment. The name of Robert is not mentioned among those included in this judgment, and later Henry justifies his conduct toward his brother on the ground of political necessity, not of legal right. The result of all these measures—we may believe it would have been the result of the conquest alone—was to put an end at once to the disorder, private warfare, and open robbery from which the duchy had so long suffered. War enough there was in Normandy, in the later years of Henry's reign, but it was regular warfare. The license of anarchy was at an end. Robert was carried over to England, to a fate for which there could be little warrant in strict law, but which was abundantly deserved and fully supported by the public opinion of the time. He was kept in prison in one royal castle or another until his death twenty-eight years later. If Henry's profession was true, as it probably was, that he kept him as a royal prisoner should be kept, and supplied him with the luxuries he enjoyed so much, the result was, it is possible, not altogether disagreeable to Robert himself. Some time later, when the pope remonstrated with Henry on his conduct, and demanded the release of Robert, the king's defence of his action was so complete that the pope had no reply to make. Political expediency, the impossibility of otherwise maintaining peace, was the burden of his answer, and this, if not actual justice, must still be Henry's defence for his treatment of his brother.