After a hearing lasting more than 40 days, Pakistan's Supreme Court on July 20th overturned the government's suspension of the court's chief justice, Iftikhar Mohammad Chaudhry.
The court's ruling means that Mr Chaudhry is to be reinstated.
The decision is a major blow to General Pervez Musharraf, the president, and a tactical victory for the secular political parties, who have rallied behind the judiciary in protest at what they regard as an attempt to undermine judicial independence.
The ruling is also momentous because the Pakistani judiciary in the past has always been reluctant to rule against the military or a military-led government.
However, while the decision removes one source of political tension, it will do little to stop the terrorist violence now engulfing the country.