Hmm, perhaps Casimir the Restorer is killed somewhere in the early 1040s (maybe as late as in the 1047 during the battle against Mieclav) and Yaroslav the Wise is either ensuring stability for his nephew before Boleslav, Casimir heir, reaches majority, or is asked by population as Casimir...