Question: What year were trade unions legalized in Tony Blair's country?

full_context: Document 1: Trade unions in Azerbaijan: Trade unions in Azerbaijan are governed under the Act on Trade Unions (1994) and the Labour Code (1999). Trade unions may be formed with seven or more members, although those in military service or in management positions may not form unions. The constitution provides for a right to strike, although essential services are excluded from this right. Trade unions are prohibited from carrying out political activities and may not associate with political parties or receive finances from political parties. The International Trade Union Confederation (ITUC) notes, "such a general prohibition is deemed contrary to the principles of freedom of association." The Azerbaijan Trade Union Confederation (ATUC) is the sole national centre. Azerbaijan has ratified the two key International Labour Organisation Conventions covering trade union rights on freedom of association and collective bargaining (Conventions 87 and 98).
Document 2: Trade unions in the United Kingdom: Trade unions in the United Kingdom were first decriminalised under the recommendation of a Royal Commission in 1867, which agreed that the establishment of the organisations was to the advantage of both employers and employees. Legalised in 1871, the trade union movement sought to reform socio-economic conditions for working men in British industries, and the trade unions' search for this led to the creation of a Labour Representation Committee which effectively formed the basis for today's Labour Party, which still has extensive links with the Trade Union Movement in Britain. Margaret Thatcher's governments weakened the powers of the unions in the 1980s, in particular by making it more difficult to strike legally, and some within the British trades union movement criticised Tony Blair's Labour government for not reversing some of Thatcher's changes. Most British unions are members of the TUC, the Trades Union Congress (founded in 1867), or where appropriate, the Scottish Trades Union Congress or the Irish Congress of Trade Unions, which are the country's principal national trade union centres.
Document 3: British co-operative movement: The United Kingdom is home to a widespread and diverse co-operative movement, with over 7,000 registered co-operatives which are owned by 17 million individual members and which contribute £34bn a year to the British economy. Modern co-operation started with the Rochdale Pioneers' shop in the northern English town of Rochdale in 1844, though the history of co-operation in the UK can be traced back to before 1800. The British co-operative movement is most commonly associated with The Co-operative brand (best known for its supermarket and Funeralcare brands) which has been adopted by several large consumers' co-operative societies; however, there are many thousands of registered co-operative businesses operating in the UK. Alongside these consumers' co-operatives, there exist many prominent agricultural co-operatives (621), co-operative housing providers (619), health and social care cooperatives (111), cooperative schools (834), retail co-operatives, co-operatively run community energy projects, football supporters' trusts, credit unions and worker-owned businesses.
Document 4: Ed Miliband: Edward Samuel Miliband (born 24 December 1969) is a British politician who was Leader of the Labour Party as well as Leader of the Opposition between 2010 and 2015. He became the Member of Parliament (MP) for Doncaster North in 2005, being re-elected in 2010, 2015, and 2017, and served in the Cabinet from 2007-10 under Prime Minister Gordon Brown.
Document 5: Tony Blair: Anthony Charles Lynton Blair (born 6 May 1953) is a British politician who served as Prime Minister of the United Kingdom from 2 May 1997 to 27 June 2007 and Leader of the Labour Party from 21 July 1994 to 24 June 2007. He previously served as Leader of the Opposition from 21 July 1994 to 2 May 1997. He is the most recent British Labour Party leader to have won a general election.
Document 6: Premiership of Tony Blair: The premiership of Tony Blair began on 2 May 1997 and ended on 27 June 2007. Whilst serving as Prime Minister of the United Kingdom, Blair concurrently served as the First Lord of the Treasury, the Minister for the Civil Service, the Leader of the Labour Party (until Gordon Brown was declared Labour leader on 24 June 2007), and a member of parliament for the constituency of Sedgefield in County Durham. He remains a Privy Counsellor having first been appointed in July 1994 when he became Leader of the Opposition. Tony Blair is the Labour Party's longest-serving Prime Minister, and having led the party to three consecutive general election victories, the only Labour prime minister to serve two full consecutive terms.
Document 7: John Major: Sir John Major, {'1': ", '2': ", '3': ", '4': "} (born 29 March 1943) is a British politician who was Prime Minister of the United Kingdom and Leader of the Conservative Party from 1990 to 1997. He served as Foreign Secretary and then Chancellor of the Exchequer in the Thatcher Government from 1989 to 1990, and was the Member of Parliament (MP) for Huntingdon from 1979 until he retired in 2001. Since Margaret Thatcher's death in 2013, he is the oldest living former Prime Minister.
Document 8: UK miners' strike (1984–85): The miners strike of 1984–85 was a major industrial action to shut down the British coal industry in an attempt to prevent colliery closures. It was led by Arthur Scargill of the National Union of Mineworkers (NUM) against the National Coal Board (NCB), a government agency. Opposition to the strike was led by the Conservative government of Prime Minister Margaret Thatcher, who called Scargill "the enemy within." The NUM was divided over the action and many mineworkers, especially in the English Midlands, worked through the dispute. Few major trade unions supported the NUM, primarily because of the absence of a vote at national level. Violent confrontations between flying pickets and police characterised the year-long strike, which ended in a decisive victory for the Conservative government and led to the closure of most of Britain's collieries. It was "the most bitter industrial dispute in British history." At its height, the strike involved 142,000 mineworkers. The number of days of work lost to the strike was over 26,000,000, making it the largest since the 1926 general strike.
Document 9: Union Modernisation Fund: The Union Modernisation Fund (UMF) was a fund established in 2005 by the Government of the United Kingdom (at this time under the leadership of Tony Blair, who was part of the Labour government) with the aim of providing financial support to British trade unions by supporting "innovative modernisation projects which contribute to a transformational change in the organisational effectiveness of a trade union". The fund was overseen by the independent quasi-autonomous non-governmental organisation (quango) the Union Modernisation Fund Supervisory Board (officially termed a non-departmental public body), which was part of the Department for Business, Innovation and Skills. Three rounds of the UMF were held, with a large amount of money disseminated to trade unions. The Conservatives criticised the fund, calling it a way to keep the unions "sweet", and the then shadow business secretary Alan Duncan called on Gordon Brown to scrap the fund. Only three rounds of funding were ever held, and the board was abolished in 2010 as part of the UK government's quango reforms (as the board's function had been completed). In total the fund gave £7 million to trade unions throughout its existence.
Document 10: Blair–Brown deal: The Blair–Brown deal (or Granita Pact) was an alleged gentlemen's agreement struck between the British Labour Party politicians Tony Blair and Gordon Brown in May 1994, while they were Shadow Home Secretary and Shadow Chancellor of the Exchequer respectively.
Document 11: Trade Union Act 1913: The Trade Union Act of 1913 was passed by the Liberal British Government under Prime Minister H. H. Asquith to remedy the situation caused by the 1909 Osborne Judgment, and gave unions the right to divide their subscriptions into a political and a social fund. If union members objected to these political contributions they could contract out of the payment.
Document 12: Australian labour movement: The Australian labour movement has its origins in the early 19th century and includes both trade unions and political activity. At its broadest, the movement encompasses an industrial wing (Australian unions) and a political wing (Australian Labor Party). Trade unions in Australia may be organised (i.e., formed) on the basis of craft unionism, general unionism, or industrial unionism. Almost all unions in Australia are affiliated with the Australian Council of Trade Unions (ACTU), many of which have undergone a significant process of amalgamations, especially in the late 1980s and early 1990s. The leadership and membership of unions hold and have at other times held a wide range of political views, including communist, socialist and right-wing views.
Document 13: Clement Attlee: Clement Richard Attlee, 1st Earl Attlee, {'1': ", '2': ", '3': ", '4': "} (3 January 1883 – 8 October 1967) was a British Labour politician who served as Prime Minister of the United Kingdom from 1945 to 1951 and Leader of the Labour Party from 1935 to 1955. In 1940, Attlee took Labour into the wartime coalition government and served under Winston Churchill, becoming the first person to hold the office of Deputy Prime Minister of the United Kingdom. He went on to lead the Labour Party to an unexpected landslide victory at the 1945 general election; forming the first Labour majority government, and a mandate to implement its postwar reforms. The 12.0% national swing from the Conservatives to Labour was unprecedented at that time and remains the largest ever achieved by any party at a general election in British electoral history. He was re-elected with a narrow majority at the 1950 general election. In the following year, Attlee called a snap general election, hoping to increase his parliamentary majority. However, he was narrowly defeated by the Conservatives under the leadership of Winston Churchill; despite winning the most votes of any political party in any general election in British political history until the Conservative Party's fourth consecutive victory in 1992. Attlee remains the longest-ever serving Leader of the Labour Party.
Document 14: Premiership of Gordon Brown: The premiership of Gordon Brown began on 27 June 2007 when Brown accepted the Queen's invitation to form a government, replacing Tony Blair as the Prime Minister of the United Kingdom. It ended with his resignation as Prime Minister on 11 May 2010. While serving as Prime Minister, Brown also served as the First Lord of the Treasury, the Minister for the Civil Service and the Leader of the Labour Party. He was succeeded as Prime Minister by David Cameron
Document 15: Labour Party (UK) Shadow Cabinet election, 1995: Elections to the Labour Party's Shadow Cabinet took place in October 1995, at the beginning of the 1995/6 session of parliament. Under the rules then in effect, the Commons members of the Parliamentary Labour Party elected 19 members of the Official Opposition Shadow Cabinet, who were then assigned portfolios by the leader. The Labour peers elected the Leader of the Opposition in the House of Lords. In addition, the Leader of the Labour Party and Deputy Leader (Tony Blair and John Prescott, respectively) were members by virtue of those offices. With this election, for the first time, the role Opposition Chief Whip was simply another portfolio to be handed out rather than an office separately elected by the PLP. The 19 elected members of the Shadow Cabinet were the ones with the largest number of votes. MPs were required to vote for at least four women, but women were not necessarily guaranteed places in the Shadow Cabinet.
ground_truth: 1871