Who invented the M4 Carbine?

The M4 is a shorter version of the M16 rifle, which is the military designation of the Armalite Rifle. Eugene Stoner is generally credited with the creation of the Armalite.