Complex sentence: In 1904, it was renamed the "Stanley School", only for this change to be reversed in 1910 to avoid confusion with another nearby Stanley School.
Split into simpler sentences: In 1904, it was renamed the "Stanley School". This change was reversed in 1910 to avoid confusion with another nearby Stanley School.