From Wikipedia:
as of revision #1244775597
GameSpy Industries (the entity responsible for GameSpy multiplayer services) was bought from IGN Entertainment by Glu Mobile in August 2012, and proceeded in December to raise integration costs and shut down servers for many older games, including Star Wars: Battlefront, Sniper Elite, Microsoft Flight Simulator X, Saints Row 2, and Neverwinter Nights, with no warning to developers or players, much to the outrage of communities of those games. GameSpy Technologies remained operational as a separate entity since. In February 2013, following the acquisition of IGN Entertainment by Ziff Davis, IGN's "secondary" sites were shut down, ending GameSpy's editorial operations.
In April 2014, Glu announced that it would shut down the GameSpy servers on May 31, 2014, so its developers could focus on work for Glu's own services. Games that still used GameSpy are no longer able to offer online functionality or multiplayer services through GameSpy. While some publishers announced plans to migrate GameSpy-equipped games to other platforms (such as Steam or in-house servers), some publishers, such as Nintendo (who used the GameSpy servers as the basis of its Nintendo Wi-Fi Connection platform for DS and Wii games) did not, particularly due to the age of the affected games. Electronic Arts, in particular, announced 24 PC games, including titles such as Battlefield 2, the Crysis series, Saints Row 2 and the Star Wars: Battlefront series, would be affected by the end of GameSpy service.
Fan-created mods restored online functionality with alternative servers. One such mod for the PC version of Halo was officially incorporated into a patch for the game released by Bungie in May 2014, and Disney helped developers create a similar mod for Battlefront II (2005) in 2017. 10 days prior to the Nintendo Wi-Fi Connection shutdown, a fan continuation of the project was created named Wiimmfi. By contrast, in 2017, Electronic Arts demanded the takedown of modified versions of Battlefield 2 and Battlefield 2142 on alternate servers, distributed by a group known as "Revive Network", as infringement of their copyrights.