Complex sentence: In 854, Ansgar returned to Sweden when king Olof ruled in Birka.
Split into simpler sentences: In 854, Ansgar returned to Sweden. Now king Olof ruled in Birka.