Answer
The Swiss mercenaries were fighting for René II, Duke of Lorraine, when Charles the Bold was killed. René II had been allied with the Swiss since 1474, and the Swiss had agreed to provide him with troops in exchange for money and territory. The Swiss were a formidable fighting force, and their victory at Nancy helped to ensure René II's survival and the independence of Lorraine.