Question: Was William Whitelaw deputy leader of the conservative party before or after the formation of the second shadow cabinet of edward heath?

Context paragraphs:
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.

Second Shadow Cabinet of Edward Heath: The Second Shadow Cabinet of Edward Heath was created after the Conservative Party lost the February 1974 general election.  It was led by the Leader of the Conservative Party Edward Heath and featured prominent Conservative politicians both past and future.  Included was Heath’s successor Margaret Thatcher, the future Home Secretary William Whitelaw, and two future Foreign Secretaries, Lord Carrington and Francis Pym.  For the first time in history, a leadership election was held in 1975 for the Conservative Party whilst the position was not vacant.  Margaret Thatcher challenged Heath, with whom the majority of the party was dissatisfied because of repeated losses at elections.  She won, becoming the first female leader of a major political party in Britain.

Labour Party (UK) Shadow Cabinet election, 1992: Elections to the Labour Party's Shadow Cabinet took place in July 1992.  Shadow Cabinet elections generally take place at the beginning of a parliamentary session, but the 1992 vote was postponed until a new leader was elected to replace Neil Kinnock.  Under the rules then in effect, the Commons members of the Parliamentary Labour Party elected 18 members of the Official Opposition Shadow Cabinet, who were then assigned portfolios by the leader.  The Commons members of the PLP separately elected the Chief Whip, and 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 (John Smith and Margaret Beckett, respectively) were members by virtue of those offices.  The 18 elected members of the Shadow Cabinet were the ones with the largest number of votes, except that the three women with the most votes would be included in the 18, even if they weren't among the 18 top vote getters.

Labour Party (UK) Shadow Cabinet election, 1993: Elections to the Labour Party's Shadow Cabinet took place in October 1993, at the beginning of the 1993/4 session of parliament.  Under the rules then in effect, the Commons members of the Parliamentary Labour Party elected 18 members of the Official Opposition Shadow Cabinet, who were then assigned portfolios by the leader.  The Commons members of the PLP separately elected the Chief Whip, and 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 (John Smith and Margaret Beckett, respectively) were members by virtue of those offices.  The 18 elected members of the Shadow Cabinet were the ones with the largest number of votes.  Beginning with this election, MPs were required to vote for at least four women, but women were no longer guaranteed three places in the Shadow Cabinet.

William Whitelaw, 1st Viscount Whitelaw: William Stephen Ian Whitelaw, 1st Viscount Whitelaw, (28 June 1918 – 1 July 1999), often known as Willie Whitelaw, was a British Conservative Party politician who served in a wide number of Cabinet positions, most notably as Home Secretary and "de facto" Deputy Prime Minister.  He was Deputy Leader of the Conservative Party from 1975 to 1991.

Second Shadow Cabinet of Harold Wilson: Harold Wilson of the Labour Party would form his Second Shadow Cabinet, as Leader of Her Majesty’s Most Loyal Opposition, after losing the 1970 general election to Conservative Edward Heath.  He would retain leadership of the Opposition for the length of the Heath Ministry, from 1970 − 1974.  In February 1974, his party would narrowly win an election.  Wilson was then forced to form a minority government, which would only last until another election in October of that year.  After that election, Wilson would form a majority government, known as the Second Wilson Ministry.

Labour Party (UK) Shadow Cabinet election, 1996: Elections to the Labour Party's Shadow Cabinet took place in July 1996.  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.  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.

Shadow Cabinet of Margaret Thatcher: Margaret Thatcher became the first female Leader of the Conservative Party and Leader of the Opposition after winning the 1975 leadership election, the first Conservative leadership election where the post was not vacant.  A rule change to enable the election was largely prompted by dissatisfaction with the incumbent leader, Edward Heath, who had lost three of four general elections as leader, including two in 1974.  After announcing her first Shadow Cabinet in February 1975, she reshuffled it twice: in January and November 1976.  Minor subsequent changes were necessary to respond to various circumstances.  Thatcher's Shadow Cabinet ceased to exist upon her becoming Prime Minister following the 1979 general election.

Shadow Cabinet of Thailand: The Shadow Cabinet of Thailand (Thai: คณะรัฐมนตรีเงา or รัฐบาลเงา) is an unofficial group of senior opposition party's spokespeople who form an alternative cabinet to the government.  The shadow cabinet members shadow or mark each individual member of the government.  After the People's Power Party's win in the 2007 general election, the Democrat Party became the sole official opposition party.  Abhisit Vejjajiva, leader of the Democrat Party, expressed his intention to set up a shadow cabinet to track the new administration's performance, to propose better solutions, and to provide the Democrat's standpoint on each government decision.  The shadow cabinet line-up was announced on February 8, 2008 after the Samak's administration had officially assumed office.  On the 15 December 2008, Abhisit was elected by the House of Representatives to become the next Prime Minister, within a week a Cabinet will be formed which will include many members his Shadow Cabinet.  However a day later the For Thais Party (the opposition party) MP Jatuporn Promphan stated that his party will not be forming a Shadow Cabinet.

Labour Party (UK) Shadow Cabinet election, 1994: Elections to the Labour Party's Shadow Cabinet took place in October 1994, at the beginning of the 1994/5 session of parliament.  Under the rules then in effect, the Commons members of the Parliamentary Labour Party elected 18 members of the Official Opposition Shadow Cabinet, who were then assigned portfolios by the leader.  The Commons members of the PLP separately elected the Chief Whip, and 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.  The 18 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.

Supporting paragraphs: Second Shadow Cabinet of Edward Heath William Whitelaw, 1st Viscount Whitelaw
Answer: after