Complex sentence: The school was originally an all-boys grammar school, with girls being admitted for the first time in 1907.
Split into simpler sentences: The school was originally an all-boys grammar school. Girls were admitted for the first time in 1907.