inadvertently (adv.)
1670s, from inadvertent + -ly (2). "Inattentively, carelessly," hence "unintentionally."