Castiglio agrees to deal with Soldiers