Complex sentence: The purpose of marriage between the medieval elites was to secure land; girls were married in their teens, but boys did not marry until they came of age.
Split into simpler sentences: The purpose of marriage between the medieval elites was to secure land. Girls were married in their teens, but boys did not marry until they came of age.