During the 2000 presidential election Karamarko was chief of Mesić's election campaign. Mesić, at the time member of the Croatian People's Party, won the election with 56% of votes in the second round against Dražen Budiša of the Croatian Social Liberal Party. After Mesić had won the election, Karamarko was named as his advisor for national security.