Generate a correct and concise answer for the question based on the words in the context.

Context : In 1994, the U.S. military officially accepted the XM4 into service as the M4 carbine to replace M16A2s in certain roles.
Question : What was the year that M4 carbine entered service?
1994