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