The present invention relates to a needle including: a needle hub having a needle with a distal tip a ring for protecting the needle in one of a storage condition or end-of-use condition of the needle assembly a foldable element for moving the protective ring a biasing element for urging the foldable element from its folded configuration to an unfolded configuration a retainer for maintaining the biasing element in an intermediate stressed state at least in the storage condition of the needle assembly and a deactivating element for releasing said retainer at least at the end of the injection step. The invention also relates to an injection device including such a needle assembly and a container.