David built an altar for the Lord there and sacrificed burnt offerings and fellowship offerings. So the Lord heard the prayers for the country, and the plague on Israel stopped.