A former cavalry officer has won equal pension rights for his husband at the Supreme Court.
The ruling in favour of John Walker has been hailed by rights groups, with Liberty saying it will "dramatically change the lives of same-sex couples."
Walker, 66, had fought for several years to give his husband the same pension rights a wife could expect.
He had been beaten in the Court of Appeal in 2015, judges ruling that his claim applied to a period before gay civil partnerships with legal.
However a panel of five Supreme Court judges have now found in his favour, quashing the earlier verdict.
Their decision means that Walker's husband, who is in his fifties, will receive a spouse's pension upon his death, as long as they stay married. This equates to around £45,000 a year - a significant increase on the £1,000 he would otherwise have been given.