Original: She was a doctor and a surgeon already in the 1820s, long before it was formally permitted for women in 1870.
Simplified: She was a doctor and a surgeon long before it was permitted for women.