qnli question: What year was Kievan Rus became a territory? sentence: Kievan Rus' reached its greatest extent under Yaroslav I (1019–1054); his sons assembled and issued its first written legal code, the Rus' Justice, shortly after his death.