The Football League was the first organised league, and when it was formed there were no rules about having to be an English club. If a French club had wanted to join at the time, they would have been allowed to.
Other leagues formed in other countries, including the Welsh League - but by then...