Unwittingly means without realising what you were doing. Unwittingly helped, unwittingly become part of it, quite unwittingly.
It is the word that removes blame while keeping the fact, which is why it does so much work in reporting and in law. The wit in it is the old sense meaning to know, the same one in to wit and in unwitting.
1adverbunwittinglyWithout realising what you were doing.
“She unwittingly carried the stolen jewels through customs in her suitcase.”
unwittingly is a manner.
Also accepted in games: unknowingly
From unwitting, from Old English witan, to know, the same root as wit.
Middle English
on-wytyngly
English, today
unwittingly
From Middle English on-wytyngly, un-wetandly, unweteynglye, unwetinglie, un-wetinglye, unwetyngly, unwitandly, unwitendely, unwitingly, unwittandly, unwityngli, unwityngly, unwytyngeleche, unwytyngli, equivalent to unwitting + -ly or un- + wittingly.
Etymology from Wiktionary, CC BY-SA