Until the 19th century, most people in Ireland spoke Irish but that changed after 1801 when Ireland joined the United Kingdom. Ireland’s state schools then became part of the British system and had to teach or even allow only English. The Roman Catholic Church also began to discourage Irish as did Nationalist leader Daniel O'Connell, although an Irish-speaker himself, saying that most job opportunities were in the English-speaking United States and wider British Empire.