Criminal offenses under state and federal laws are generally categorized by the seriousness of the crime as felonies (more serious) or misdemeanors (less serious). Felonies are offenses that generally may result in prison sentences of more than one year, and misdemeanors carry sentences of one year or less. The United States Congress sets the penalties for all federal criminal offenses, and thus decides which criminal offenses are felonies and which are misdemeanors. And the state legislature in each state decides which criminal offenses are felonies and which are misdemeanors under state law.