The word "vice" is usually used in a negative sense in the meaning of "immoral or wicked behavior". On the other hand we have a commonly used term "vice president" as the second person in a presidency system. As a non-native speaker when I first saw "vice president" I thought that it was something like "king of parties and all kind of entertainments" :). Obviously no one else understands it in this way.
What is the relation between the word "vice" and the term "vice president"?