Question: The Prices and Incomes Accord was agreed on by the prime minister who was the leader of the Labor Party when? 

Context paragraphs:
Gillard Government: The Gillard Government was the Government of Australia led by the 27th Prime Minister of Australia, Julia Gillard, of the Australian Labor Party.  The Gillard Government succeeded the First Rudd Government by way of the Labor Party leadership spill, and began on 24 June 2010, with Gillard sworn in as Prime Minister by the Governor-General of Australia, Quentin Bryce.  The Gillard Government ended when Kevin Rudd won back the leadership of the Australian Labor Party on 26 June 2013 and commenced the Second Rudd Government.

National Labor Party: The National Labor Party was formed by Australian Prime Minister Billy Hughes in 1916 following the 1916 Labor split on the issue of World War I conscription in Australia.  Hughes had taken over as leader of the Australian Labor Party and Prime Minister of Australia when anti-conscriptionist Andrew Fisher resigned in 1915.  He formed the new party for himself and his followers after he was expelled from the ALP a month after the 1916 plebiscite on conscription in Australia.  Hughes held a pro-conscription stance in relation to World War I.

Rudd Government (2013): The Second Rudd Government was the federal Executive Government of Australia of the Australian Labor Party, which commenced on 27 June 2013, led by Kevin Rudd as Prime Minister, and ceased on 18 September 2013.  Rudd had previously served a term as Prime Minister from 2007 to 2010 and been replaced by his deputy Julia Gillard, following an internal party spill.  Rudd regained the Labor Party leadership by successfully re-challenging Gillard in a June 2013 party spill.  On 5 August, Rudd called an election for 7 September 2013, which resulted in the defeat of his government by the Liberal/National Coalition led by Opposition Leader Tony Abbott.

Australian Labor Party leadership spill, 2010: The Australian Labor Party leadership spill, 2010 occurred on 24 June 2010.  Kevin Rudd, the Prime Minister of Australia, was challenged by Julia Gillard, the Deputy Prime Minister of Australia, for the leadership of the Australian Labor Party.  Gillard won the election unopposed after Rudd declined to contest, choosing instead to resign.  Gillard was duly sworn in as Prime Minister by Quentin Bryce, the Governor-General, on 24 June 2010 at Government House, becoming Australia's first female Prime Minister.

Prices and Incomes Accord: The Prices and Incomes Accord was an agreement between the Australian Council of Trade Unions and the Australian Labor Party government of Prime Minister Bob Hawke and Treasurer (later Prime Minister) Paul Keating in 1983.  Employers were not party to the Accord.  Unions agreed to restrict wage demands and the government pledged to minimise inflation.  The government was also to act on the social wage.  At its broadest this concept included increased spending on education as well as welfare.

Julia Gillard: Julia Eileen Gillard, {'1': ", '2': ", '3': ", '4': "} (born 29 September 1961) is a former Australian politician who was the 27th Prime Minister of Australia from 2010 to 2013, as Leader of the Australian Labor Party.  She was previously the 13th Deputy Prime Minister of Australia, and held the cabinet positions of Minister for Education, Minister for Employment and Workplace Relations and Minister for Social Inclusion from 2007 to 2010.  She was the first and to date only woman to hold the positions of deputy prime minister, prime minister and leader of a major party in Australia.

Nationalist Party of Australia: The Nationalist Party of Australia was an Australian political party.  It was formed on 17 February 1917 from a merger between the conservative Commonwealth Liberal Party and the National Labor Party, the name given to supporters of World War I conscription in Australia from the Australian Labor Party led by Prime Minister Billy Hughes.  The Nationalist Party was in government (at times as part of a coalition) until electoral defeat in 1929.  From that time it was the main opposition to the Labor Party until it merged with pro-Joseph Lyons Labor defectors to form the United Australia Party in 1931, which was the predecessor to the Liberal Party of Australia, founded in 1944.

Australian Labor Party split of 1916: The Australian Labor Party split of 1916 occurred following severe disagreement within the Australian Labor Party over the issue of proposed World War I conscription in Australia.  Labor Prime Minister of Australia Billy Hughes had, by 1916, become an enthusiastic supporter of conscription as a means to boost Australia's contribution to the war effort.  On 30 August 1916, he announced plans for a referendum on the issue (the Australian plebiscite, 1916), and introduced enabling legislation into parliament on 14 September, which passed only with the support of the opposition.  Six of Hughes' ministers resigned in protest at the move, and the New South Wales state branch of the Labor Party expelled Hughes.  The referendum saw an intense campaign in which Labor figures vehemently advocated on each side of the argument, although the "no" campaign narrowly won on 14 November.  In the wake of the referendum defeat, the caucus moved to expel Hughes on 14 November; instead, he and 23 supporters resigned and formed the National Labor Party.  Frank Tudor was elected leader of the rump party.  Hughes was recommissioned as Prime Minister, heading a minority government supported by the opposition Commonwealth Liberal Party; the two parties then merged as the Nationalist Party of Australia and won the 1917 federal election.  The Nationalist Party served as the main conservative party of Australia until 1931, and the split resulted in many early Labor figures ending their careers on the political right.

Rudd Government (2007–10): The Rudd Government (2007–10) was the government of Australia formed by the Australian Labor Party and led by Kevin Rudd as Prime Minister.  The Rudd Government commenced on 3 December 2007, when Rudd was sworn in along with his ministry.  This took place nine days after the defeat of the Howard Government, which was a Coalition of members of the Liberal and National parties, at the 2007 federal election.  The Rudd Government concluded on 24 June 2010, when Rudd, under pressure from an impending leadership caucus ballot, stepped down from the leadership of the Australian Labor Party and was succeeded by his deputy, Julia Gillard.  Rudd was re-elected leader of the Labor Party in 2013 and served for a second time as Prime Minister.

Bob Hawke: Robert James Lee Hawke {'1': ", '2': ", '3': ", '4': "} (born 9 December 1929) is an Australian politician who was the Prime Minister of Australia and the Leader of the Labor Party from 1983 to 1991.

Supporting paragraphs: Prices and Incomes Accord Bob Hawke
Answer: 1983 to 1991