Defendant was charged in one count with the infamous crime against nature. He was convicted by the court sitting without a jury of vagrancy as an offense necessarily included within the offense charged. He appeals from the judgment and the order denying his motion for a new trial.
*328 Defendant’s assignments of error are: (1) Subdivision 5 of section 647 of the Penal Code does not state an offense under the law. (2) Subdivision 5 of Penal Code section 647 is not an offense necessarily included within the infamous crime against nature as defined by section 286 of the Penal Code.
Penal Code, section 647, subdivision 5, provides: “Every idle, or lewd, or dissolute person, or associate of known thieves; ... 'Is a vagrant and is punishable by a fine of not exceeding five hundred dollars ($500), or by imprisonment in the county jail not exceeding six months, or by both such fine and imprisonment.” Defendant argues that the quoted provision does not forbid or command any act; that it refers to a state of being or status; 1 that therefore it does not define a crime because Penal Code, section 15, defines a crime as “an act committed or omitted in violation of a law forbidding or commanding it, and to which is annexed, upon conviction, either of the following punishments: ...”
All that is meant by saying that vagrancy is a status is that it is a present condition; that the statute can be applied only to the persons who meet the description at the time the offense was committed.
(People
v.
Craig,
A general course of conduct, practices, habits, mode of life, or status which is prejudicial to the public welfare
may
be prohibited by law and punishment therefor may be provided by the state. (14 Am.Jur. 754, § 2.) Every course of conduct or practice or habit or mode of life or status which falls within this class of wrongs is connoted by the
*329
term “crime.”
(Bopp
v.
Clark,
In
Dyer
v.
County of Placer,
In
State
v.
Barlowe,
*330 . We conclude that subdivision 5 of section 647 of the Penal Code states a public offense insofar as it provides that every lewd or dissolute person is a vagrant and prescribes a punishment therefor.
“The test in this state of a necessarily included offense is simply that where an offense cannot be committed without necessarily committing another offense, the latter is a necessarily included offense.
(People
v.
Krupa,
One cannot commit the infamous crime against nature without being lewd and dissolute. Lewdness and dissoluteness are necessary elements of that offense. The infamous crime against nature and vagrancy, where the offense is that of a lewd and dissolute person, involve essentially the same elements of conduct. They have a common basis. It is true that a person can be lewd and dissolute without committing the infamous crime against nature, but the converse is not true. In
People
v.
Greer,
We hold that subdivision 5 of section 647 of the Penal Code insofar as it defines a vagrant as a lewd or dissolute person is necessarily included within the infamous crime against nature defined by section 286 of the Penal Code.
Judgment and order affirmed.
Shinn, P. J., and Wood (Parker), J., concurred.
A petition for a rehearing was denied April 24, 1951.
Notes
It has been so held by the appellate department of the superior court of the county of Los Angeles in an unpublished opinion. (People v. CooTc, Grim. A. No. 1629.)
