The world-renowned Spanish judge Baltasar Garzon has defiantly rejected charges of abuse of power for opening an investigation into Franco-era crimes.
Garzon, who earned global fame with an attempt to extradite Augusto Pinochet, the former Chilean military ruler, from London, found himself in the Supreme Court dock accused of breaching an amnesty for such crimes on Tuesday.
"The amnesty law refers to crimes of a political nature, in no way can it be said that crimes against humanity of the kind that were alleged could have any political nature," the 56-year-old judge said.
"As such it was not even necessary to make a reference to the amnesty law," he said on the opening day of his testimony in Madrid.
Victims' families who filed the case in 2006 had described disappearances, illegal detentions and killings, which amounted "in some cases to crimes against humanity, genocide," he said.
The judge is being prosecuted for ordering the investigation in 2008 into the disappearance of 114,000 people during Spain's 1936 to 1939 civil war and General Francisco Franco's subsequent dictatorship.
Garzon is charged with exceeding his powers on the grounds that the alleged crimes were covered by an amnesty agreed in 1977 as Spain moved towards democracy two years after Franco's death.
If convicted, Garzon would not go to prison but could be suspended from the legal profession for up to 20 years, putting an end to his career.
The case has opened heated debated in Spain over a dark period of its history, and invited criticism from rights groups.
"Garzon showed today that his decision to take up the investigation of the crimes of the Franco era was fully supported by international law," Reed Brody, a lawyer for Human Rights Watch, who was in the court, said.
"But the spectacle of a judge as a criminal defendant, having to justify his investigation into torture, killings and 'disappearances,' was itself an affront to principles of human rights and judicial independence," he said in a statement.
Garzon was testifying shortly after the Supreme Court refused to dismiss the case, which was opened following a private complaint filed by two right-wing groups.
Both the prosecution and defence agreed that the judge had done nothing wrong and the charges should be shelved.
But their submissions "do not have sufficient material weight to justify the cancellation of the investigation," according to the ruling agreed by a majority of the seven judges.
Hero to victims
Garzon has become a hero to many human rights activists and victims of the Franco period.
More than 100 protesters rallied outside the court in his defence, waving banners reading "Justice" and displaying black-and-white photographs of Franco's alleged victims.
"We are here because we are ashamed that a judge who tried to judge the crimes of Francoism should be the first to sit on the bench of the accused and that the Supreme Court should try to condemn it," Pio Maceda, one activist at the rally, said.
"We are here to show our support for justice and to demand justice. In the judiciary there are still some elements of the old regime, this case is an embarrassment to Spain and the world."
Garzon came to international prominence in 1998 when he ordered the extradition of Pinochet from Britain to face charges of human rights abuses.
The judge has also pursued members of the former military rule in Argentina, indicted Osama bin Laden, investigated alleged abuses at the US prison at Guantanamo Bay in Cuba, and probed tax fraud accusations, later dropped, against Silvio Berlusconi, the former Italian prime minister.
Garzon was suspended from his duties at the National Court, Spain's top criminal court, in May 2010 and currently works as a consultant at the International Criminal Court in The Hague.