Robert II of France
The Normans sacked it in 845. The castle of Melun became a royal residence of the Capetian kings. Hugh Capet (See also: House of Capet) gave Melun to Bouchard, his favorite. In the reign of Hugh's son, Robert II of France, Eudes, the count of Champagne, bought the city, but the king took it back for Bouchard in 999. The chatelain Gautier and his wife, who had sold the city, were hanged; Eudes escaped. Robert died there in July 1031.