When did modern soccer start?

- It started in 1863 when ten schools founded the Football Association of England.

(In the second sentence, what is the part of speech of 'when'? Is 'when' a relative adverb or a conjunction?)

In that sentence, "when" is a conjunction. It introduces the clause.