Spanish first lady Begona Gomez, left, and her husband, Spanish Prime Minister Pedro Sanchez pictured earlier this month visiting Pope Leo XIV during his week-long trip to Spain. Photo by Alejandro Garcia/EPA

June 20 (UPI) -- Begona Gomez, the wife of Spanish Prime Minister Pedro Sanchez, had her passport revoked on Saturday because a judge said she is a flight risk ahead of her trial on corruption charges.

Gomez is alleged to have exploited her position in Spain's government to obtain a position at the Complutense University of Madrid and used public money for her own private interests, Politico, El Pais and The New York Times reported.

In barring Gomez from leaving the country, Judge Juan Carlos Peinado also is requiring her to appear in court every 15 days until her trial, a date for which has not been set.

The first lady has been under investigation since 2024, and is one of several of Sanchez's allies and relatives that have been accused of corruption, as well -- including his predecessor Jose Luis Rodriguez Zapatero.