A former treasurer of Spain's ruling party, at the heart of a corruption scandal that has hurt Prime Minister Mariano Rajoy, was ordered to surrender his passport on Monday while judges investigate millions of euros he deposited in Swiss banks.

Luis Barcenas is accused of using his position to take bribes, evade taxes by hiding the proceeds in Switzerland and launder money through shell companies, charges that carry prison sentences of up to six years and fines.

The long-running High Court investigation of Barcenas and a graft case involving the son-in-law of Spain's king have enraged Spaniards at a time when deep recession has pushed unemployment to 26 percent.