MINNEAPOLIS (AP) - A federal judge says a Minnesota man will stay in custody pending sentencing on a terror charge after a box cutter was found under his bed.

Abdullahi Yusuf pleaded guilty in February to one count of conspiring to provide material support to the Islamic State group. He was allowed to stay at a halfway house before sentencing and participate in a program designed to give him positive direction.

But in April, he was sent back into custody for violating halfway house rules.

The violation wasn't disclosed until Monday.

U.S. District Judge Michael Davis says in a written order that halfway house staff found the box cutter under Yusuf's bed. Yusuf shared the room with others, and denied knowledge of the box cutter.

Yusuf's attorneys didn't immediately return messages seeking comment.