Penal Code section 654 prohibited multiple punishment for burglary and assault where the assault was the intended felony. Even though the jury was instructed with alternative intents for entering the building (theft or assault or kidnapping), the record did not support the parsing of his intent into obtaining money and inflicting injury.