Complex sentence: Anund Jakob (king of Sweden 1022-1050) was born in 1008 as Jakob but when the Swedish counsel, the Ting, was to elect him the co-ruler of Sweden, the people objected to his non-Scandinavian name.
Split into simpler sentences: Anund Jakob (King of Sweden 1022-1050) was born in 1008 as "Jakob". When the Swedish counsel, the Ting, was to elect him the co-ruler of Sweden, the people objected to his non-Scandinavian name.