Four local Labour MPs helped give Tony Blair a bloody nose last night after joining a revolt which crushed the Government's proposed new anti-terror laws.

Ann Cryer (Keighley), Mike Wood (Batley and Spen), Christine McCafferty (Calder Valley) and Linda Riordan (Halifax) were among 49 Labour backbenchers who rebelled against the Prime Minister.

The MPs made it clear they could not support the Prime Minister's controversial proposals to lock up terror suspects for 90 days without charge.

In dramatic scenes at Westminster, Mr Blair suffered the devastating humiliation of his first defeat since sweeping to power in 1997. He sat in the Commons chamber shaking his head as it was announced his plans had been defeated by 322 votes to 291 - a majority of 31.

Minutes later, MPs backed a compromise move to extend the detention period from the current 14 days to 28. The defeat is a hammer blow to the Prime Minister who said MPs had a "duty" to support the police who requested tough new powers to hold and question terror suspects while they searched for evidence.

In a final desperate plea to back the plans, Mr Blair urged MPs to take the advice of police who had foiled two terrorist plots since 52 innocent people were murdered in the July 7 attacks on London.

In heated exchanges at Prime Minister's questions, Mr Blair said: "We are not living in a police state but we are living in a country that faces a real and serious threat of terrorism." But in an apparent acknowledgement he was heading for defeat he added: "Sometimes it is better to lose and do the right thing then win and do the wrong thing."

In a nail-biting vote, the rebels were joined by Tories Philip Davies (Shipley) and David Curry (Skipton and Ripon) and Liberal Democrat Greg Mulholland (Leeds North West) in rejecting 90 days.

Labour's Gerry Sutcliffe (Bradford South), Marsha Singh (Bradford West), Terry Rooney (Bradford North) and Shahid Malik (Dewsbury) backed the

Government. Paul Truswell (Pudsey) abstained.

Mrs Cryer said: "If you hold someone for 90 days and they are innocent, that is three months out of their life. It is a complete contravention of human rights."

Mr Davies said: "I want to give the police the powers to do the job but locking people up for three months without charge is a step too far."

Mr Singh- who abstained for the vote on 28 days - said: "Considerable safeguards had been added to the Bill which meant I could vote for 90 days, but as a whole I am unhappy with the Bill."