What country was rugby league created?

England, hudersfield I think about 100 years ago, broke away from union in order to get paid.