Complex sentence: The school was opened in May 1866 as an all boys' school.
Split into simpler sentences: The school was opened in May 1866. It was an all boys' school.