Hugo Carvajal was jailed on Saturday by Spain's High Court pending a decision on an extradition request from the United States. The US now needs to formalise its request for his extradition.
While Spanish police did not fully disclose the charges brought against the general, in 2008 he was sanctioned by the US Treasury for "materially assisting the narcotics trafficking activities" of Colombia's FARC rebel group.
During the court hearing, Carvajal denied having links with Colombia's FARC and the drug trafficking charges, as well as challenged his potential extradition to the United States, a court spokesman said.
As the former general explained to the court, he left Venezuela a month ago by boat and would fight the extradition request due to his ties with Spain, as his family currently resides there.
In 2014, Carvajal was detained at the request of the United States in Aruba, the Netherlands' island in the Caribbean, where he served as a Venezuelan consul general. However, shortly after he was released and returned home. Carvajal has been a member of the National Assembly since 2016 and supports opposition leader Juan Guaido.
Carvajal was a trusted adviser to former Venezuelan leader Hugo Chavez and served as military intelligence chief in 2004-2011 and 2013-2014.