Yaroslav, known as "the Wise", struggled for power with his brothers. In what year did Yaroslav become the prince of Kiev