Ángel María Villar, the president of the Spanish soccer federation and a FIFA vice president, was arrested on Tuesday as part of a fraud investigation relating to matches played by Spain’s national team.

Mr. Villar was detained by the Spanish police alongside his son, Gorka, and other soccer officials. The arrests were ordered by a judge from Spain’s national court who has been investigating the finances of the national team. The police said in a statement that the detained officials were accused of crimes including embezzlement, fraud and the falsification of documents.

Mr. Villar, 67, has run Spanish soccer for the past three decades and was re-elected unopposed in May as president of the national federation, despite being entangled in different corruption inquiries. Mr. Villar’s longstanding influence has also stretched far beyond soccer-crazy Spain. He is a vice president of FIFA, soccer’s world governing body, and last year he was also the interim president of UEFA, the European soccer authority, overseeing the European Championships.

Mr. Villar was arrested in connection with an investigation started by a 2016 complaint over how the federation had organized and financed some matches played by the national team. The police said on Tuesday that Mr. Villar was accused of using the games to benefit Gorka Villar, a sports lawyer. Juan Padrón, the vice president of the Spanish federation, was also arrested on Tuesday, accused of mismanagement and embezzlement, including from illegal contracts signed between the federation and third parties, according to the police statement.