 In 849, however, William was in Barcelona and Charles invaded Aquitaine.Fredelo, then in control of Toulouse, taking advantage of William's absence, opened the gates of the city to his sovereign and was reconfirmed in his possession of it.Fredelo received the County of Carcassonne in 850 and died in 852, leaving his titles to his brother Raymond.