 Harald left the stone lying in the path, realizing at last that Sweyn had nearly succeeded in stealing the whole kingdom.Several battles brought the rebellion to stalemate, but in 985 Harald was mortally wounded by an arrow.Later his remains were buried in the little timber church at Roskilde, then Denmark's capital.