Original: Sofia Lovisa Gråå had ben the first woman who was principal of this school alone (in 1804-1812).
Simplified: Sofia Lovisa Gråå had ben the first woman who was principal of this school alone, and she was principal in 1804-1812.