A Honduran man living in Miami has pleaded guilty to attempting to provide material support to the Islamic State terrorist organization, the U.S. attorney for the Southern District of Florida announced Thursday.

Vicente Adolfo Solano will face up to 20 years in prison and a $250,000 fine for planning to bomb a local shopping mall in 2017, the attorney's office said in a statement.

The 53-year-old man told an undercover government source in early 2017 that he was unhappy with the United States as a whole and wanted to carry out an attack in Miami. He later said he wanted to join ISIS, according to the court complaint.

Solano later told two undercover FBI agents and the confidential source that he was plotting to place and detonate an explosive device in a central part of a busy mall.

He obtained what he thought was an explosive device, tried to arm it, then took it to a mall to carry out the attack. Solano did not know that the device was "inert" and would not detonate. He was arrested before he entered the mall.

Solano will be sentenced by U.S. District Judge Paul C. Huck in Miami on May 30.

The U.S. Attorney's Office of South Florida and U.S. Immigration and Customs Enforcement told the Washington Examiner they could not comment on the suspect's legal status.