Heather Carroll, a federal public defender who is representing Mr. Garcia, did not immediately respond to a request for comment on Saturday.
The plea agreement comes weeks after a spate of other bogus calls and threats were made to law enforcement agencies across the United States that targeted public officials.
This month, state capitol buildings in Connecticut, Georgia, Hawaii, Kentucky, Michigan, Minnesota, Mississippi and Montana were evacuated or placed on lockdown after the authorities said they had received bomb threats that they described as false and nonspecific.
The calls targeted public officials responsible for ballot access and voting related to debunked conspiracy theories of fraud in the 2020 general elections. The judge presiding over Donald Trump’s civil fraud trial in New York was also swatted at his home. Prominent Republicans have also been targeted.
The phenomenon of swatting arose from the competitive world of online gaming.
The attacks have been aided by forums on the internet and on the camouflaged sites of the dark web. These forums name thousands of people, from high-ranking tech executives to their extended families, who could be targets, providing cellphone numbers, home addresses and other information.