Child endangerment under Penal Code Section 273(a) is charged as a misdemeanor or felony. When charged as a misdemeanor, it carries up to one year in prison. When charged as a felony, it attracts two and four years in state prison.