An offender who commits an offense which includes all the elements of other lesser offenses, may be prosecuted for and convicted of either the greater offense or one of the lesser and included offenses. In such case, where the offender is prosecuted for the greater offense, he may be convicted of any one of the lesser and included offenses.
La. R.S. § 14:5