Section 25of the penal Code Act