been bugged by the Metropolitan Police Anti-Terrorist Branch. An inquiry was launched by the Justice Secretary, Jack Straw. There was concern that the bugging contravened the Wilson Doctrine that police should not bug MPs. The report concluded that the doctrine did not apply because it affected only bugging requiring approval by the Home Secretary, while in Khan's case the monitoring was authorised by a senior police officer. The Home Secretary, Jacqui Smith, then announced a further policy review and said the bugging of discussions between MPs and their constituents should be banned. In June 2007, Blair stood down as both Prime Minister and Labour Party leader, to be replaced by Gordon Brown. Brown thought highly of Khan, who moved up the parliamentary ranks under Brown's Premiership. Brown made Khan a party whip, who was therefore charged with ensuring that Labour-sponsored legislation made it through the parliamentary process to become law. In July 2008, Khan helped push through a government proposal to permit the detention of those suspected of terror offences for 42 days without charge. For his part in this, Khan was criticised by Liberty's Shami Chakrabarti and others, who claimed that Khan had contravened his principles on civil liberties issues. On Prime Minister Gordon Brown's Cabinet reshuffle of 3 October 2008, Khan was appointed Parliamentary Under-Secretary of State for Communities and Local Government. In 2008, the Fabian Society published Khan's book, Fairness Not Favours. In this work, Khan argued that the Labour Party had to reconnect with British Muslims, arguing that it had lost the trust of this community as a result of the Iraq War. He also said that British Muslims had their own part to play in reconnecting with politicians, arguing that they needed to rid themselves of a victim mentality and take greater responsibility for their own community. In the House of Commons in January 2009, Khan criticised Pope Benedict XVI for the rehabilitation of Bishop Richard Williamson following his remarks about the Holocaust, a move he described as "highly unsavoury" and of "great concern". In June 2009 he was promoted to Minister of State for Transport. In what was believed to be a first for an MP, Khan used his Twitter account to self-announce his promotion. Though Khan was not a member of the cabinet, he attended meetings for agenda items covering his policy area, thus becoming the first Muslim to attend the British Cabinet.