Complex sentence: The children were declared legitimate through marriage and became, as their mother, citizens of Württemberg.
Split into simpler sentences: The children were declared legitimate through marriage. Their ligitimacy made them citizens of Württemberg, since their mother was a citizen of Württemberg.