Original: They were established in 1874 from Hamilton Academy.
Simplified: They were first set up in 1874 from Hamilton Academy.