Because the prosecution produced no evidence that appellant harbored more than one objective, Penal Code section 654 precluded punishment for both depositing a hazardous substance and vandalism. The Court of Appeal, therefore, stayed the eight-month consecutive sentence imposed on appellant for depositing a hazardous substance. The Court further remanded the matter for the trial court to amend the abstract of judgment and specify the bases for the assessments imposed on appellant.