Who died in 1038