Boleslaw later repelled invasions from Otto's successor and then sought Poland's own expansion eastward
Boleslaw sought an eastward expansion of Poland's borders.
I don't want a computer and will never buy one.