Federal investigators on Thursday found a loaded gun that had been smuggled into the Manhattan jail where the financier Jeffrey Epstein hanged himself last summer while awaiting trial on sex-trafficking charges, officials said.

The discovery of the gun at the jail, the Metropolitan Correctional Center, came amid a weeklong lockdown that began with a tip that a firearm might have been “introduced” into the building, according to a statement from the federal Bureau of Prisons.

The gun was found in one of the jail’s housing units, the bureau said. The Associated Press first reported the discovery.

The Metropolitan Correctional Center and other federal prisons across the United States have been dealing with rising levels of violence and other safety problems, including an influx of contraband.