NATO peacekeepers were deployed to Bosnia as part of the 1995 Dayton Peace Accords that ended the fighting in the former Yugoslavia .