A West Virginia man has admitted to making violent threats against President Donald Trump and federal immigration enforcement agents, according to an announcement from the U.S. Attorney’s Office for the Northern District of West Virginia.

Cody Lee Smith entered a guilty plea to charges stemming from an indictment filed earlier this year. The charges include threatening the President of the United States and making threats against agents of U.S. Immigration and Customs Enforcement. Smith now faces up to five years in federal prison for the presidential threat charge and an additional ten years for the threats directed at ICE personnel.

The indictment detailed the nature of the threats, which were graphic and explicit in their violent content. According to court documents, Smith sent a direct message through Instagram to Donald Trump Jr. that contained threats of sexual violence against the President. The message also referenced Israeli Prime Minister Benjamin Netanyahu in the context of the threatened violence.

Former FBI Special Agent Nicole Parker has discussed this case as part of a broader pattern of threats against the President, noting that Trump has faced multiple security challenges during his time in office. The case underscores the ongoing concerns about threats directed at federal officials and the serious legal consequences that follow such actions.

Federal prosecutors have treated these threats with the gravity they deserve. Threatening the President of the United States remains a serious federal offense, regardless of the medium through which such threats are communicated. The rise of social media platforms has created new avenues for individuals to make threats against public officials, and federal law enforcement agencies have adapted their investigative techniques accordingly.

The U.S. Attorney’s Office has emphasized that threats against federal officials will be prosecuted to the fullest extent of the law. This case serves as a reminder that online communications are not anonymous and that threatening language directed at the President or other federal personnel carries severe legal penalties.

Smith’s guilty plea eliminates the need for a trial, though he awaits sentencing. The combined potential sentence of fifteen years in federal prison reflects the seriousness with which the justice system views threats against the President and federal law enforcement officers.

The case also highlights the ongoing challenges faced by the Secret Service and other protective agencies tasked with safeguarding the President and other high-ranking officials. These agencies must evaluate thousands of potential threats each year, determining which pose credible dangers and require immediate action.

As this case moves toward sentencing, it stands as a clear example of the consequences that await those who choose to threaten violence against the President or federal agents. The Department of Justice has made clear that such threats will not be tolerated and will be met with the full force of federal prosecution.

Related: July Fourth Fireworks Leave Nation’s Capital with Hazardous Air Quality Conditions