Henry was educated in Latin and the liberal arts. His parents probably raised him to go into the Church when he was old enough. On William's death in 1087, Henry's two older brothers were each left half of their father's kingdom. Robert Curthose became Duke of Normandy. William Rufus became king of England. But Henry, still a minor, was left with no inheritance. Henry purchased the County of Cotentin in western Normandy from Robert. But Robert and William Rufus forced him out in 1091. Henry gradually rebuilt his power base in the Cotentin. He then allied himself with William against Robert. Henry was present when William died in a hunting accident in 1100. Robert was away on Crusade. Henry, who was present when William was killed, rushed to seize the English throne for himself.