Teacher:Generate a correct and concise answer for the question based on the words in the context.
Teacher: Now, understand the problem? Solve this instance: 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 year did M4 carbine come into use?
Student:
1994