WARNING: This article contains spoilers for SEAL Team season 4 episode 10. Read at your own risk.

Jason Hayes (David Boreanaz) will be further tested in the upcoming SEAL Team season 4 episode 11. His career was in jeopardy after being accused of committing a horrific crime during a mission. Here is what's coming for the character in "Limits of Loyalty."

SEAL Team season 4 episode 11 picks up the events in episode 10, titled "A Question of Honor." Jason was charged with killing an unarmed citizen during their recent operation in Jordan. After failing to ensure his target was armed, his action put him in violation of UCMJ Article 119.

Jason faced charges of manslaughter when a video surfaced, showing an angle of him killing the unarmed citizen. The clip didn't entirely show what happened, but this could jeopardize and end the career of Boreanaz's character now that he's put on trial.

The manslaughter charged was upped to a murder charge, making the situation even more complicated for Jason. The man he shot was a terrorist who tortured his close friend, Ray Perry (Neil Brown Jr.). The prosecution went on to argue that he did this out of revenge.

In SEAL Team season 4 episode 11, Jason will try to find a way to earn the trust of the jury. While preparing, he was advised that he should keep himself sympathetic. He must not show his anger and must follow the rules within the court. This trial could test his friendship with Ray, as well.

The episode title suggests that Jason's current situation will test whether or not Ray is on his side. There is a possibility that the latter will help his friend, but some unforeseen events could lead to betrayal. Hence, Jason must prepare himself for whatever is coming after the trial.

This storyline may not wrap up within his episode. It may continue to play out in the next few episodes, especially since this is one of the biggest challenges in Jason's career, so far. When this story wraps up, his future with the Bravo Team is something that might be explored.

Aside from Jason's trial, other characters also have their own spotlight in SEAL Team season 4 episode 11. Stella (Alona Tal) decided to move in with Clay (Max Thieriot), while Sonny (A.J. Buckley) helps Hannah (Rachel Boston) preparing for her baby's arrival.

SEAL Team season 4 episode 11 airs on Wednesday, April 7, on CBS.