trump delegate arrested child porn charges dnt_00000821.jpg
trump delegate arrested child porn charges dnt_00000821.jpg
PHOTO: WJLA
Now playing
01:27
Child porn, gun charges for Trump delegate
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
PHOTO: Win McNamee/Getty Images
Now playing
01:44
Jill Stein raises millions for recount
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/Getty Images
Now playing
02:14
Scientists urge Clinton to call for recount
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
PHOTO: Matt Mills McKnight/Getty Images North America/Getty Images
Now playing
03:25
Donald Trump's wild ride
Now playing
01:46
Trump's challenges in the Middle East
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
Now playing
02:47
Fact checking Trump on crimes by immigrants
PHOTO: Mark Makela/Getty Images/Lintao Zhang/Getty Images
Now playing
01:26
Trump vs. the tape on Obama and the protester
Now playing
01:28
Trump compares Clinton email probe to Watergate
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
PHOTO: John Locher/AP
Now playing
01:20
Donald Trump rushed off stage by Secret Service
PHOTO: AFP/Getty Images
Now playing
02:16
Trump reads letter from Patriot's coach at rally
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
01:56
Trump on US officials: 'What a group of losers'
donald trump nice and cool pensacola fl bts_00001523.jpg
donald trump nice and cool pensacola fl bts_00001523.jpg
Now playing
00:49
Trump's mantra in campaign's final week: Stay on point
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
Now playing
01:52
Audio of Trump praising the Clintons and Democrats
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
Now playing
01:28
Cuomo grills Lewandowski on Clinton email 'hypocrisy'
Now playing
00:10
This video is no longer available
Now playing
01:49
Meet the other Hillary Clinton and Donald Trump

Story highlights

A Maryland man who was elected as a delegate for Donald Trump was indicted on child pornography charges

He also faced charges of possession of an illegal gun and explosives

(CNN) —  

A Maryland man who was elected as a delegate for Donald Trump to the Republican National Convention has been charged with creation and possession of child pornography and possession of an illegal gun and explosives.

A federal grand jury indicted Caleb Bailey on Wednesday, following an investigation led by the Bureau of Alcohol, Tobacco, Firearms and Explosives according to court records.

The indictment alleges between March 2015 and this past January, Bailey attempted to use and did use a minor to engage in sexually explicit conduct to produce child pornography.

The investigation began in February when Caleb Bailey shipped a package to a person in Wisconsin, but it ruptured open at a postal facility in Capital Heights, Maryland, according to a federal criminal complaint. Postal officials called ATF agents to the scene to investigate the package.

They found it contained 119 rounds of .50 caliber cartridges with incendiary projectiles, which are regulated as explosives, and 200 rounds of spotting projectiles, which also contained an explosive charge, according to the affidavit.

When the package did not arrive, according to an ATF affidavit filed in court, Bailey, using a false name, called the post office twice inquiring about its status and gave a tracking number that matched the parcel in which the explosives were found.

The Maryland Board of Elections lists Bailey as a District 5 delegate to the Republican National Convention supporting Trump. A U.S. law enforcement official confirmed that the Bailey elected as delegate was the same person arrested.

Lawyers for Bailey declined to comment.

“We strongly condemn these allegations and leave it in the capable hands of law enforcement. He will be replaced immediately,” Trump campaign spokeswoman Hope Hicks told CNN.

Authorities said neither Bailey nor the intended recipient, an unnamed owner of a firearms store in Wisconsin, have a federal explosives license to manufacture or distribute explosives.

Law enforcement arranged a meeting with Bailey earlier this month, but he did not show. On that same day, according to the affidavit, search warrants were executed at properties associated with Bailey, including his residence.

“Bailey was present during at least part of the searches. Bailey made certain admissions to law enforcement, including that he had shipped the recovered package,” stated the affidavit.

During the search authorities also recovered guns and other ammunition and they searched his computer and found suspected child pornography, according to a law enforcement official briefed on the investigation.

Hundreds of illegal weapons, including machine guns, were found inside a bunker below the garage in Bailey’s home, a U.S. official briefed on the investigation said. The bunker was lined with shelves storing firearms and explosives. ATF agents also found gambling and other equipment in the home, the official said.

Bailey’s father refused to comment to CNN earlier this month after his son was first arrested and could not be reached Thursday.

CNN’s Kevin Bohn contributed to this story.