King's son-in-law testifies in fraud scandal "I am here today to demonstrate my innocence," Inaki Urdangarin says Madrid (CNN) -- The son-in-law of Spain's King Juan Carlos arrived in court to testify before a magistrate Saturday as a suspect in a fraud scandal that has created unprecedented problems for the popular royal family. Inaki Urdangarin, who was granted the title of Duke of Palma when he married the king's youngest daughter, Princess Cristina, in 1997, is under investigation for allegedly diverting public funds that were earmarked for his foundation for private use. Urdangarin walked into the courthouse in Palma de Mallorca past throngs of reporters and news cameras, even though the court authorized him late Friday to avoid that scene on an "exceptional basis and strictly for security reasons" and to drive right up to the building. All the other suspects in the case who previously testified had to walk in, past the media. Urdangarin, with a serious look on his face and flanked by his lawyer, stopped briefly to make a statement to a group of reporters who were allowed inside a court-designated security zone. "I am here today to demonstrate my innocence," Urdangarin said. During these years I have carried out my responsibilities and have made decisions in a correct manner and with total transparency. My intention today is to clear up the truth about the facts. As Urdangarin walked in, jeers and chants from anti-monarchy demonstrations, on nearby streets outside of the security zone, could be heard. The royal household is widely respected for the king's role, as head of state, in guiding Spain to democracy after the dictatorship of Francisco Franco. Then the king, in his annual Christmas address, issued a warning to public officials: "Fortunately, we live in a state of law, and any objectionable action should be tried and punished according to the law," the king said. Urdangarin will mount a vigorous defense, his lawyer, Mario Pascual Vives, told reporters earlier in Barcelona. The testimony took place in a closed-door session, with no cameras allowed. In attendance were prosecutors, Urdangarin's defense lawyer and lawyers representing other suspects in the investigation. The attorneys for the other suspects -- in addition to the investigating magistrate -- will have a chance to question Urdangarin, according to state-run television TVE.