Slovenian Democratic Party
Virant resigned from office shortly before the 2004 parliamentary elections, in which he ran as a candidate for the Slovenian National Assembly on the list of the Slovenian Democratic Party. However, he never joined the party.