In French, if one wants to say that he or she is wrong, he or she says: j'ai tort.

Looking up the word by itself in my French/English dictionnary it gives the English definition as: fault; wrong.

This could be the origin of the word.