Nine years after a botched robbery in Ludendorff, North Yankton, former bank robber Michael Townley is living under witness protection with his family in Los Santos, San Andreas, under the alias Michael De Santa. When Michael discovers his wife, Amanda, has been sleeping with her tennis coach, he chases the coach to a mansion and destroys it out of anger. The mansion's owner turns out to be the girlfriend of Mexican drug lord Martin Madrazo, who demands compensation under the threat of further violence. Michael goes back into a life of crime to obtain the money and enlists accomplice Franklin Clinton, who previously worked as a repossession agent for an Armenian car salesman. Together, they perform a jewellery shop heist to help pay the debt. Michael's sole surviving partner in the Ludendorff robbery, drug dealer Trevor Philips, hears of the jewellery heist and realises that it was Michael's handiwork. The two reunite after Trevor tracks Michael down in Los Santos. The personal lives of the protagonists begin to spiral out of control. Michael's family leaves him, and his attempts to make something of himself bring him into conflict with Devin Weston, a self-made billionaire venture capitalist and corporate raider who develops a grudge against him. Weston vows revenge after his lawyer dies in an accident that Michael is blamed for. Franklin rescues his friend Lamar Davis from gangster and former friend Harold "Stretch" Joseph, who repeatedly attempts to kill Lamar to prove himself to his brethren. Trevor's reckless efforts to consolidate his control over various black markets in Blaine County see him waging war against the San Andreas chapter of The Lost outlaw motorcycle club, a number of Latin American street gangs, rival meth dealers, government-sponsored mercenaries and Triad kingpin Wei Cheng. Federal Investigation Bureau (FIB) government agents Dave Norton and Steve Haines contact Michael and demand that he perform a series of operations with Franklin and Trevor to undermine a rival agency, the International Affairs Agency (IAA).[j] Under Haines' direction, they attack an armoured convoy carrying funds intended for the IAA and raid a bank containing the payroll for all corrupt police and public officials in Los Santos. As Haines comes under increasing scrutiny for his methods, he forces Franklin and Michael to infiltrate the FIB headquarters and erase any evidence being used against him from their servers. Michael takes the opportunity to wipe any data on his own activities, destroying Haines' leverage over him. The trio start planning their most daring feat ever: raiding the Union Depository's gold bullion reserve. Michael makes amends with his family and they start living together again after returning to Los Santos. Trevor discovers that a former Ludendorff heist accomplice, Brad Snider, was not in prison as he was led to believe, but killed during the heist and buried in the grave marked for Michael. Trevor's feelings of betrayal cause friction within the group and threaten to undermine their Union Depository plans. When Michael and Norton, both of whom are betrayed by Haines, are caught in a Mexican standoff between the FIB, IAA and private security firm Merryweather, Trevor aids in their escape, holding that only he has the right to kill Michael. Despite not forgiving Michael, Trevor still wants to perform the Union Depository heist; the duo agree to part ways afterwards. The Union Depository heist is completed successfully, but Franklin is approached by two parties separately who demand that he kill Trevor or Michael. Haines and Norton contend that Trevor is a liability, and Weston wants retribution for Michael's betrayal. Franklin has three choices: kill Michael, kill Trevor or kill neither and face their enemies together. Should Franklin kill Trevor, he will receive help from Michael and remains friends with Michael. Should Franklin kill Michael, he ceases contact with Trevor. Should he kill neither, the trio withstand an onslaught from the FIB and Merryweather before going on to kill Haines, Stretch, Cheng and Weston. The three cease working together but remain friends.