The Gandhi was performing a terraforming mission in the Lagana sector in 2369. Thomas Riker transferred to the ship in that same year after the USS Enterprise-D rescued him from Nervala IV. (TNG: "Second Chances")
At some point the Gandhi was assigned to Task Group 8-2. (Starfleet Command (RPG))
- USS Gandhi article at Memory Alpha, the canon Star Trek wiki.
- USS Gandhi article at Memory Beta, the non-canon Star Trek wiki.