Every person who unlawfully throws, hurls or projects at a vehicle operated by a common carrier, while such vehicle is either in motion or stationary, any rock, stone, brick, bottle, piece of wood or metal or any other missile of any kind or character, or does any unlawful act, with the intention of wrecking such vehicle and doing bodily harm, and thus wrecks the same and causes bodily harm, is guilty of a felony and punishable by imprisonment pursuant to subdivision (h) of Section 1170 for two, four, or six years.
Ca. Pen. Code § 219.1