Cavalry played important roles in various late 17th-century conflicts, including the Nine Years' War (1688-1697) and the Great Northern War (1700-1721). They were used for reconnaissance, raiding, covering the flanks of infantry formations, and engaging in decisive charges when opportunities arose. The late 17th century saw some changes in cavalry tactics and equipment. As firearms technology continued to develop, cavalry had to adapt to new challenges.