Complex sentence: Most of these Jews retained their religion, identity, and social customs; both under the Persians and the Greeks, they were allowed to conduct their lives according to their own laws.
Split into simpler sentences: Most of these Jews retained their religion, identity, and social customs. Under both the Persians and the Greeks, the Jews were allowed to conduct their lives according to their own laws.