Unless specific provision is made by law, any person who attempts to commit a crime and, in the attempt, does any act toward the commission of the crime, but fails or is prevented or intercepted in the perpetration of that crime, is punishable for the attempt at a maximum sentence of one-half of the penalty prescribed for the underlying crime. Unless specific provision is made by law, any person who attempts to commit a Class A, Class B, or Class C felony is guilty of a Class 2 felony.
SDCL 22-4-1