ORDER
Appellant’s petition for rehearing is GRANTED and the petition for rehearing en banc is denied as moot. Judge Callahan votes to deny the petition for rehearing and the petition for rehearing en banc.
The memorandum disposition and dissent filed August 11, 2016, is withdrawn. A memorandum disposition shall be filed concurrently with this order. With the filing of the new memorandum disposition, the parties shall be allowed to file petitions for rehearing and/or rehearing en banc.
SO ORDERED.
MEMORANDUM *
Joshua Joel Zamora Gonzales (“Gonzales”) appeals the district court’s denial of his federal habeas petition, challenging his conviction for three counts of attempted murder and one count of shooting from a motor vehicle on insufficiency of the evidence grounds. With respect to each of these counts, the jury found true that Gonzales “personally and intentionally discharged a firearm, a handgun, which caused great bodily injury to” the victims. *549The jury also found that he committed the crimes within the meaning of California’s gang enhancement statute. The trial court sentenced Gonzales, who was just 17 years old when the crimes were committed, to an aggregate term of 86 years and 8 months to life in state prison.
We have jurisdiction pursuant to 28 U.S.C. § 2253. We review the district court’s decision to grant or deny the habe-as petition de novo, Solis v. Garcia, 219 F.3d 922, 926 (9th Cir. 2000) (per curiam), and the last-reasoned state court’s adjudication of the habeas claim for whether it was contrary to or an unreasonable application of clear Supreme Court precedent, Boyer v. Belleque, 659 F.3d 957, 964 (9th Cir. 2011). We reverse the district court and grant Gonzales’s petition for habeas relief.
“To prevail on an insufficiency of evidence claim, a habeas petitioner must show that ‘upon the record evidence adduced at the trial[,] no rational trier of fact could have found proof of guilt beyond a reasonable doubt.’” Briceno v. Scribner, 555 F.3d 1069, 1078 (9th Cir. 2009) (quoting Jackson v. Virginia, 443 U.S. 307, 324, 99 S.Ct. 2781, 61 L.Ed.2d 560 (1979) (alteration in original)). Because the Antiterrorism and Effective Death Penalty Act (“AEDPA”) applies to this petition, “we owe a ‘double dose of deference’” to the state court’s judgment. Long v. Johnson, 736 F.3d 891, 896 (9th Cir. 2013) (quoting Boyer, 659 F.3d at 964). To grant habeas relief, we therefore must also conclude that “the state court’s determination that a rational jury could have found that there was sufficient evidence of guilt, i.e., that each required element was proven beyond a reasonable doubt, was objectively unreasonable.” Boyer, 659 F.3d at 965. While this is an “extremely high bar” to overcome, the bar “is not insurmountable.” O’Laughlin v. O’Brien, 568 F.3d 287, 304 (1st Cir. 2009). Indeed, we have an “obligation under Jackson to identify those rare occasions in which ‘a properly instructed jury may ... convict even when it can be said that no rational trier of fact could find guilt beyond a reasonable doubt[.]’” United States v. Nevils, 598 F.3d 1158, 1167 (9th Cir. 2010) (quoting Jackson, 443 U.S. at 317, 99 S.Ct. 2781 (alterations in original)).
“Although our sufficiency of the evidence review is grounded in the Fourteenth Amendment, we undertake the inquiry with reference to the elements of the criminal offense as set forth by state law.” Juan H. v. Allen, 408 F.3d 1262, 1275 (9th Cir. 2005) (citing Jackson, 443 U.S. at 324 n.16, 99 S.Ct. 2781). Here, the attempted murder convictions required proof that Gonzales: (1) had the specific intent to kill; and (2) committed a direct but ineffectual act toward accomplishing this goal. People v. Millbrook, 222 Cal.App.4th 1122, 166 Cal.Rptr.3d 217, 229 (2014); see also Cal. Penal Code §§ 187, 664. The shooting from a motor vehicle conviction required proof that Gonzales: (1) willfully and maliciously discharged a firearm from a motor vehicle (2) at another person other than an occupant of a motor vehicle. Cal. Penal Code § 26100(c).
The evidence against Gonzales consisted of the following: Gonzales wore a baseball cap to a party, where he introduced himself as “Knuckles” and associated with members of the Playboyz gang. After the party ended, shots were fired from a dark colored vehicle that was leaving the area. Three victims were wounded. Witnesses recalled seeing two shooters, one shooting from the backseat of the dark colored vehicle and the other over the hood. No witness could identify the shooters, but at least one believed the shooter in the backseat wore a baseball cap. Gonzales admitted to hearing men on the street “talking *550shit” and to hearing shots as he was leaving the party in the backseat of his friend’s light red Cadillac, but witnesses testified that many cars were leaving the area at the time of the shooting. Although the record does not reflect what prompted police to investigate Gonzales as a suspect, police arrived at Gonzales’s house the following day and arrested him. They found no weapons in his home or on his person. After a prolonged interrogation at the police station, where Gonzales likely contacted numerous contaminated surfaces, a gunshot residue test revealed only two gunshot residue particles on Gonzales’s right hand.
Considering “the record evidence adduced at the trial,” Jackson, 443 U.S. at 324, 99 S.Ct. 2781, we conclude that that evidence is constitutionally insufficient to support Gonzales’s convictions.
First, no eyewitness testified that Gonzales was the shooter or could identify any of the occupants of the vehicle from which the shots were fired. One witness explicitly stated that Gonzales was not the person who “gave the heads up or what’s up” to the victims and that he was not the shooter. Two others specifically testified that they did not see Gonzales in the car from which the shots were fired, let alone see him with a gun.
Second, testimony concerning Gonzales’s baseball cap and gang affiliation does not distinguish him from other people present on the night of the shooting. Various witnesses testified that many people (one witness thought it was 100) attended the party. No witness testified that the shooter wore a baseball cap that matched the one Gonzales wore that night. The evidence did not establish that a person known as “Knuckles” was connected with the shooting, nor that the victims were shot to benefit the Playboyz gang specifically. Evidence of gang affiliation alone cannot constitute sufficient grounds for conviction. See United States v. Garcia, 151 F.3d 1243, 1244 (9th Cir. 1998).
Third, witnesses’ descriptions of the car from which the shots were fired did not match descriptions of the car in which Gonzales claimed he was a passenger. All witnesses stated that the vehicle from which the shots were fired was black or dark colored, but Gonzales consistently stated that he left the party in his friend’s light red Cadillac. He also repeatedly denied ever shooting a gun or seeing anyone fire a gun from the car he was in.
Fourth, although Gonzales stated during his police station interview that he was the rear passenger in a car that drove by some men on the street who were “talking shit” and that he later heard gunshots, he did not clearly admit that he exchanged words with or motioned to anyone from the backseat of his friend’s light red Cadillac. At one point during the interview, Gonzalez explicitly denied saying anything to the men on the street. Further, witnesses testified that numerous cars passed by the victims before the shooting occurred.
Fifth, the two particles of gunshot residue on Gonzales’s right hand do not connect him to any gun fired on the night of the shooting. The police never located a gun matching the shell casings found at the scene of the shooting. Further, the lead detective used a gunshot residue test kit to collect the particles of gunshot residue from Gonzales 12 hours after the shooting—after police allowed Gonzales to go to the bathroom and wash his hands when he arrived at the police station. The prosecution’s expert (who was not the one who administered the gunshot residue test) expressed surprise that the particles survived, testifying that he “would expect the 12 hours ... to remove all of [the particles] and washing at that point to kind of finish the job.” The expert also testified *551that it was just as likely the particles came from contacting a surface contaminated with gunshot residue as from firing a firearm, handling a firearm, or being in close proximity to a discharged firearm.
Sixth, despite a thorough search, police officers found no weapons, bullets, gun magazines, gun cleaning devices, or other firearm paraphernalia at Gonzales’s home.
“In conducting our inquiry, we are mindful of the deference owed to the trier of fact and, correspondingly, the sharply limited nature of constitutional sufficiency review.” Juan H., 408 F.3d at 1275 (citations and internal quotation marks omitted). However, “[o]ur deference ... is not without limit.” Id. “We have held, for example, that evidence is insufficient to support a verdict where mere speculation, rather than reasonable inference, supports the government’s case[.]” Nevils, 598 F.3d at 1167; see also O’Laughlin, 568 F.3d at 301 (“A reviewing court should not give credence to evidentiary interpretations and illations that are unreasonable, insupportable, or overly speculative.” (citation and alterations omitted)). Where a defendant’s conduct is consistent with both guilt and innocence, the government has the burden to “produce[ ] evidence that would allow a rational trier of fact to conclude beyond a reasonable doubt that the government’s explanation of [the defendant’s] actions, rather than [the defendant’s] innocent explanation[,] ... is the correct one.” United States v. Bautista-Avila, 6 F.3d 1360, 1363 (9th Cir. 1993).
“Circumstantial evidence and inferences drawn from it may be sufficient to sustain a conviction. However, mere suspicion or speculation cannot be the basis for creation of logical inferences.” United States v. Lewis, 787 F.2d 1318, 1323 (9th Cir. 1986) ( citations omitted); see also Juan H., 408 F.3d at 1279 (“Speculation and conjecture cannot take the place of reasonable inferences and evidence....”). Such is the case here. Even resolving all conflicting factual inferences in favor of the prosecution, as we must do under Jackson, 443 U.S. at 326, 99 S.Ct. 2781, the evidence does not permit any rational trier of fact to conclude that Gonzales was guilty beyond a reasonable doubt.
Gonzales’s convictions rest on a speculative and weak chain of inferences that he was the shooter and that he personally discharged a firearm. As the California Court of Appeal explained:
[Witnesses testified that the rear passenger in a moving car shot at them. Furthermore, although the victims could not identify defendant as the shooter, another witness ... identified defendant as the person who introduced himself to her as “Knuckles” at the ... party and who was dressed like a Playboyz gang member and associating with other gang members. In conjunction with [this witness’s] testimony are defendant’s admissions to the police that he attended the party, dressed as she described him, and that he was in a car, passing by a group of men on the street at the time of the shooting. The foregoing ■ evidence, combined with defendant’s positive gunshot residue test, is sufficient to establish ... defendant’s identity as the shooter.
This evidence is not inconsistent with the possibility that Gonzales was the shooter. However, taken individually or collectively, these pieces of circumstantial evidence do not establish the inference that Gonzales was the shooter beyond a reasonable doubt. We hold that the California Court of Appeal unreasonably determined that a rational jury could have found sufficient evidence of guilt.
The evidence in this case is not merely “far from overwhelming,” as the magistrate judge observed. Rather, it is constitutionally insufficient. Accordingly, viewing *552the evidence in the light most favorable to the prosecution as required by Jackson, and with deference to the state court decision as required by AEDPA, we hold that no rational trier of fact could have found proof of Gonzales’s guilt beyond a reasonable doubt and that the California Court of Appeal’s conclusion that the circumstantial evidence was sufficient to support Gonzales’s convictions was objectively unreasonable.
We reverse the judgment of the district court and remand the case to the district court with instructions to grant the petition for a writ of habeas corpus.
REVERSED and REMANDED.
This disposition is not appropriate for publication and is not precedent except as provided by 9th Cir. R. 36-3.