miserably (adv.)
c. 1400; see miserable + -ly (2).