Following the Battle of Marignano in 1515, the Swiss style of massed-combat fighting went into steady decline, to be replaced by the arquebusiers, artillery and earthworks. During the Battle of Bicocca in 1522, the Swiss mercenaries met a bitter defeat with heavy casualties. Nonetheless, Swiss soldiers continued to serve as mercenaries during the next two centuries, adopting the musket to replace the pike.