Question: When was rugby invented?
About the article "Rugby union", section "History".

Candidate passages:
"Rugby union" is a popular sport in England, Wales, Scotland and Ireland.
The game was arguably invented in 1823 by William Webb Ellis, and in 1871 the English Rugby Football Union was the first national rugby football union to be founded.
It is organised "separately" in each of these countries, and also on an all-Ireland basis.
Rugby union in the British Isles is discussed in the following articles, corresponding to the separate organisations governing the sport:  Rugby union in England  Rugby union in Ireland  Rugby union in Scotland  Rugby union in Wales And also to the Crown Dependencies:  Rugby union in Guernsey  Rugby union in Jersey  Rugby union in the Isle of Man  
There is also much speculation as to what kind of rules were in place for football at the Rugby School.
Some sources have claimed that the rules of the game being played were constantly altered.
Malcolm Lee said in an interview that "...the rules were discussed almost every time the boys went out to play and that adjustments were frequently made the game"Rugby Union Football was not "invented" by Rugby School but by Blackheath FC.
Rugby School were figureheads and were not even members of the Union for many years.
Blackheath joined the Football Association but when the members voted against hacking (shin kicking) Blackheathresigned.
The split in football was not about running with the ball but about hacking.
The original rules of Rugby Union allowed hacking but within a year it had to be banned because there were suggestions that the game was too violent and should be suppressed. 
Nelson Rugby Union was founded in 1885, and played provincial rugby until 1967 when they decided to merge with the Golden Bay-Motueka Rugby Union to create Nelson-Bays. 
Rugby School, one of England's oldest and most prestigious public schools, rose to national prominence in the 1820s through the teaching methods pioneered by its headmaster, Dr Thomas Arnold, which contributed to a radical change in Public School education in England.
Most of the present school buildings, near the centre of the town, date from this period.
In 1823 William Webb Ellis is said to have invented Rugby Football when he picked up the ball and ran with it.
The growing popularity of the school in the early 19th century led to an increase in population of the town.
Many immigrants came to Rugby, many of whom were Rugby School pupils' parents, who preferred their sons to be able to go to a normal home life each night instead of having to endure school conditions (poor food, crowding, bullies) 24 hours every day; in Rugby such immigrants were called "sojourners".
This caused Rugby to expand along Bilton Road and Dunchurch Road.
Rugby School during this period was imortalised by Thomas Hughes in his semi-autobiographical novel Tom Brown's Schooldays. 
Rugby tens, also known as ten-a-side and Xs, is a variant of rugby union in which teams are made up of ten players, typically five forwards and five backs.
Matches are much shorter, often of two ten-minute halves.
The rules are similar to rugby sevens, with the IRB publishing the tens Variations in 2012.
The game is fairly popular in Malaysia, Indonesia, Singapore, and Thailand, and is growing elsewhere.
Unlike the other two major rugby union variants - sevens and beach rugby - which were invented in major rugby nations, rugby tens was developed in Malaysia, a Tier-3 rugby playing nation that has never qualified for the Rugby World Cup.
Major rugby tens tournaments include the COBRA Rugby Tens (since 1967) and the Hong Kong Football Club Tens (since 1986).
Other regular tournaments include the Cape Town Tens, first held in 2009.