And David built there an altar to YHWH, and he offered up burnt offerings and peace offerings. And YHWH heeded the prayers for the land, and the plague was withdrawn from Israel.