A federal courthouse within sight of the Capitol was evacuated for three hours Wednesday morning while authorities investigated a suspicious package that turned out to be a homeless person’s clothes, officials said.

The building was evacuated when a police dog trained to detect explosives alerted to a package found near a construction trailer outside the E. Barrett Prettyman Federal Courthouse.