Things got real on Grey’s Anatomy as one of the interns at Grey-Sloan Memorial faced deportation. Thursday’s episode, titled “Beautiful Dreamer,” took on the hot button topic of immigration when a U.S. Immigration and Customs Enforcement (ICE) agent came for Dr. Bello.

Even though she has been a model citizen, Dr. Bello had good reason to be scared. “I have a friend from high school. She was at work — an intern in a law firm. ICE came to her work,” she told Meredith Grey and Dr. Bailey. “They said that they just wanted to talk. Two days later, she was dropped off in Mexico City with a bag of clothes and a check from her family she had no way of cashing.”

As it’s Grey’s Anatomy, they of course randomly found something wrong with the ICE agent’s heart and did a procedure to help him. The agent admitted that he didn’t like what the job had become. “I wanted to be the sheriff that rode in at the last minute and saved everyone,” he said. “Now I don’t know what we’re doing. Staking out schools, taking kids, doctors — I don’t know what we’re doing anymore.”

It turned out that Dr. Bello had recently run a red light, so she was in real danger of being deported back to El Salvador — the country her family had fled when she was a baby. But Meredith saved the day. She got Dr. Bello accepted into the cardiothoracic program at the Klausman Institute, where Dr. Yang now works. (Shout-out to Sandra Oh!) While it’s cool she gets to work with Dr. Yang, it’s terrible that she was threatened with having to leave the country and the people she loves.

Grey’s Anatomy airs Thursdays at 8 p.m. on ABC. Watch clips and full episodes of Grey’s Anatomy for free on Yahoo View.

Watch John Oliver discuss children defending themselves in immigration courts:

Read more from Yahoo Entertainment:

Tell us what you think! Hit us up on Twitter, Facebook, or Instagram — or leave your comments below. And check out our host, Kylie Mar, on Twitter, Facebook, or Instagram.