The M4 carbine has an interesting history that is worth relating, so here goes:
In 1966 a requirement developed in the US Army for a shortened version of the M16, primarily for use by Special Forces who needed a smaller weapon for covert use, e.g. Long Range Reconnaissance Patrols (LRRPs). This involved jumping into jungles and so forth where a long rifle could easily be bent and was too heavy. Colt's developed a derivative of the M16 that was initially called the XM177, that differed from the original M16 in that it had a ten inch barrel with a long flash suppressor that incorporated expansion chambers to reduce the deafening muzzle blast from the short barrel, a telescoping stock, and a redesigned round handguard held in place with a wedge-shaped slip ring to allow easier removal of the handguard halves for maintenance. A version with the forward bolt assist favoured by the Army was called the XM177E1. Together they were known as the "CAR-15" project, and that was the name many of the troops called them in Vietnam, although the guns were often stamped "Commando", and they are often called the Colt Commando as well.
Only a few thousand of these guns were made, due to serious problems with them. The muzzle blast was still deafening and blinding even with the clever flash hider/suppressor, bullets would yaw and "keyhole" when hitting the target (because of insufficient stabilisation, apparently, and also debris clogging the suppressor), the cyclic rate was all over the place due to inconsistent gas pressure at the gas port (because the gas port was so close to the muzzle) and so on.
Colt redesigned the XM177 and XM177E1 into the XM177E2 which had certain improvements such as a slightly longer 11.5 inch barrel, but it too suffered from the same problems and the Army ditched the project. Undeterred, Colt's tried to sell the XM177E2 abroad, but the Bureau of Alcohol, Tobacco and Firearms had classified the flash hider as a sound suppressor, and in a bid to stop terrorists (supposedly, more likely the Israeli Mossad) from acquiring silencers the US Govt. banned their export, inadvertently stopping Colt's from being able to sell the XM177E2 abroad. The picture shows a close-up of the end of the newer 11.5 inch barrel, note the unusual washer used to lock the flash suppressor in place:
A 1/9 twist does make vastly more sense on a gun like this, because it essentially replaces the submachinegun that tankers used to be issued with. It is far more likely to be fired continuously in burst-fire mode than an M16A2 rifle carried by a rifleman would be. The slower rifling twist means slower bore erosion (as there is less resistance to the bullet going down the barrel). Bore erosion is exacerbated by continuous full-auto fire (because the metal of the barrel gets softer as it heats up). However, military-issue M4s come with the same 1/7 twist as the M16A2, which
leads to faster bore erosion. The official explanation for this is that the 1/7 twist is needed for the longer tracer round, however there is no real need for the tracer to be fired from the M4, and frankly at the short ranges the M4 is likely to be used, the tracer fired from a 1/9 twist will not be that far from the point of impact of the standard ball round. Colt's tried to impress this point on the US Dept. of Defence when the M16A2 was adopted, but were rebuffed.
Bushmaster Firearms entered the scene during Operation Desert Shield. With the imminent prospect of war, the military suddenly found themselves with a large demand for rifles. Many Army units were still armed with the M16A1, the replacement of which had only begun in 1986. With a large demand for M16A2s and M4s both from the US forces and allied forces, the Dept. of Defence approved a contract to buy M4 carbines from Bushmaster Firearms of Maine. Bushmaster supplied 4,000 M4 carbines to the US Army, these were deployed by the 82nd Airborne Division during Desert Shield and Desert Storm, reportedly being used by Gen. Schwarzkopf's bodyguards at one point.