Who invented the m4?

The basis of the M4 is the M16 rifle, for which Eugene Stoner is commonly credited. Development of the M4 was a cooperative effort between the Special Operations Community of the United States Armed Forces and Colt's Firearms.