In California, Penal Code § 459 defines burglary as:

“Every person who enters any house, room, apartment, tenement, shop, warehouse, store, mill, barn, stable, outhouse, or other building, tent, vessel, floating home, railroad car, locked or sealed cargo container, whether or not mounted on a vehicle, trailer coach, any house car, when the doors are thereof, with intent to commit grand or petit larceny or any felony is guilty of burglary “.

Types of burglary:

    1st Degree Burglary: Every burglary of an inhabited dwelling house, vessel…designed for habitation…or trailer coach…or the inhabited portion of any other building.  A felony that provides for a sentence in state prison for 2, 4 or 6 years.

    2nd Degree Burglary: Any burglary that is not a 1st Degree Burglary.  This crime is a wobbler and it has a maximum state prison time of three years.