In an agonizing manner; in a way that causes agony.
Used (as a parenthetical word) to express disappointment, compassion, sorrow, regret or grief.
Happening through bad luck, or because of some unfortunate event.