Burglary is punishable as follows:
- (a) Burglary in the first degree: by imprisonment in the state prison for two, four, or six years.
- (b) Burglary in the second degree: by imprisonment in the county jail not exceeding one year or imprisonment pursuant to subdivision (h) of Section 1170.