An Ohio man arrested on suspicion of planning to detonate a bomb at Cleveland's Fourth of July celebrations and then stand by and watch "it go off" was granted a public defender on Monday during his initial appearance in court.

FBI agents on Sunday arrested Demetrius Pitts, 48, after he met with an undercover agent and said he planned to plant a bomb at an event celebrating the U.S. Independence Day holiday in the Ohio city.

Pitts, who had expressed allegiance to the al-Qaida militant group, intended to target other locations in Cleveland and Philadelphia, the agency said.