Schull was originally known as Sculle, and later as Skully. The town was founded by Vikings in about 848, and was granted city status in 1225. During the 18th century, the population increased dramatically, and the town became a major port. By 1750 it had become one of Ireland's largest towns, and in 1800 it was ranked second only to Dublin in size among Irish cities. However, the economic boom came to an abrupt end during the Great Famine of the 1840s, when thousands died from starvation and disease. In the 19th century, Cork became a centre of trade and commerce, and the city grew rapidly. A railway line connecting Cork to Limerick opened in 1863, followed by another linking Cork to Tralee in 1866. Irish independence movements developed in the late nineteenth century, and Cork became a stronghold of nationalism. The Irish Volunteers, formed in 1913, met regularly in Cork City Hall, while the Irish Citizen Army was based in nearby Douglas Barracks. Both groups played a prominent role in the Easter Rising of 1916. Following the war, the Irish Free State was established in 1922, and Cork became part of the newly independent state. The city continued to grow throughout the twentieth century, becoming one of the most important industrial centres in Ireland. On 21 November 1920, the Irish Republican Army (IRA) launched a rebellion against British rule, beginning what became known as the Irish War of Independence. Cork was a key battleground in the struggle, and IRA units fought pitched battles with British soldiers in the streets of the city. On 22 January 1921, the Royal Irish Constabulary barracks at Patrick Street in central Cork was attacked by a small group of IRA volunteers, killing five policemen and wounding several others. This incident led to widespread rioting across the city, and the British government sent in additional troops to restore law and order. The following day, British Prime Minister David Lloyd George declared martial law in Cork, and imposed curfews and bans on public meetings.