Image caption Peter Hain says there was "abject failure" in Tony Blair's overhaul involving the Wales Office

Tony Blair and his team never gave Wales "proper respect and attention," says Peter Hain, who was the former prime minister's Welsh secretary.

In his memoirs Mr Hain says a reshuffle reducing the Welsh job to a part-time cabinet role was "a spectacular bodge".

The Neath MP writes in Outside In that the 2003 shake-up appeared to have been "cobbled together at the last minute".

The Wales Office was subsumed into what was the Department for Constitutional Affairs (now the Ministry of Justice).

A PRINCE'S SUPPORT The Prince of Wales wrote a letter of sympathy to Peter Hain while the Neath MP was being investigated by police over the funding of his campaign for the Labour deputy leadership. Prince Charles told him: "I couldn't bear witnessing the appalling time you were put through by the media in their most self-righteous mode". Mr Hain resigned from Gordon Brown's cabinet in 2008 while police investigated the failure to declare donations to his deputy leadership campaign. The prince wrote: "I just wanted to send you much sympathy at a most difficult time... I hope you can make the most of this enforced period of "exile" and I can only send you both my warmest good wishes and sympathetic thoughts". Mr Hain said the letter meant a tremendous amount to him and his wife - "it really brightened up our weekend". He was cleared of any wrong-doing and resumed his ministerial career a year later.

Mr Hain, who was Mr Blair's Welsh secretary for half his time in Downing Street, says in his book that there was initially confusion over whether the department had been abolished.

Even Mr Blair appeared unsure whether the Welsh secretary would still answer Welsh questions in the Commons.

Mr Hain said: "At one point it appeared that the secretary of state's post had been abolished, that Wales was being summarily transferred into a department under an unelected peer, Lord Falconer." Mr Hain said the Wales Office was in turmoil, with staff learning about the change via TV.

"For a government supposedly excellent at communicating, this was another example of abject failure - especially if, as later transpired, it had been considered over a period rather than cobbled together at the last minute.

"It was further evidence of Tony Blair and his team never really giving Wales proper respect and attention, contrary to Scotland where the secretary of state's role was pretty minimal because all primary legislation had gone to the Scottish parliament.

Image caption The eventual Neath MP moved from to the UK from South Africa

"The role of secretary of state for Wales remained crucial, then responsible for all Welsh primary legislation."

Mr Hain's memoirs cover his upbringing in South Africa and his political career from anti-apartheid activist to cabinet minister under Tony Blair and then Gordon Brown.

He reveals how plans to give the Welsh assembly more powers were almost scuppered by cabinet colleagues, including the then deputy prime minister, John Prescott.

According to Mr Hain, Mr Prescott thought the English regions were being discriminated against and was "resentful" about the idea of Wales acquiring full law-making powers.

Jack Straw, then foreign secretary, told a cabinet meeting that he had been struck by the Welsh government's "truly appalling" performance on hospital waiting times and it would be "ridiculous to start giving them more powers".

Image caption Mr Hain was an anti-apartheid activist who took part in many protests and campaigns

Mr Hain said Mr Straw's view was that the UK government should be saying: "If you don't deliver on policies like health you don't get more powers".

According to Mr Hain, the then leader of the Commons, Geoff Hoon, responsible for the government's legislative timetable, suggested deferring or shortening the Government of Wales Bill - a suggestion thwarted only by Tony Blair's intervention.

Mr Hain admits that he changed along his journey from protester to minister, moving towards the centre "but hopefully retaining my radical spark and values".