Fans who haven’t yet seen the film “Captain America: Civil War” might want to get to movie theaters before they watch “Marvel’s Agents of SHIELD” Tuesday (or before they read any more of this article). For one thing, the legal decisions in the film tie into Season 3, episode 20 of the ABC series. For another, Coulson will learn about what happened to Peggy Carter.

Before Steve Rogers/Captain America (Chris Evans) and Tony Stark/Iron Man (Robert Downey Jr.) battle it out in “Captain America: Civil War,” Peggy (Hayley Atwell) dies. Steve gets a text that she passed away in her sleep. Despite it being a natural death, it’s still a difficult event for him.

Coulson (Clark Gregg) also will mourn her loss on the ABC drama. Executive producer Jeffrey Bell revealed that the “Marvel’s Agent Carter” character will be acknowledged in the episode. “SHIELD was birthed out of Peggy Carter and Howard Stark,” Bell told Entertainment Weekly. “Any time we can make a connection to her, whether in a flashback or dealing with what’s happening now, it makes the universe smaller.”

Season 3, episode 20 certainly won’t be the first time “Agents of SHIELD” acknowledges the co-founder. Peggy has been mentioned several times throughout the series, and Atwell even appeared in flashbacks at the beginning of Season 2. Typically, it’s her history that is referenced, as opposed to anything current.

The Sokovia Accords also will be covered in episode 20. Of course, Coulson is on Team Cap, despite Iron Man’s being victorious. He doesn’t want to register the Inhumans on his team, but, legally, he has to do it. However, he may have bigger threats that prevent him from finishing that paperwork: Hive (Brett Dalton) is working on a way to make anyone an Inhuman, regardless of whether he or she wants those kinds of powers.

“Marvel’s Agents of SHIELD” Season 3, episode 20 airs on ABC Tuesday at 9 p.m. EDT.