The 1866 Winchester/"Yellow Boy" will be produced, in various forms and models from 1866 until 1899 when production ended.
However, quantities of parts remained on hand at Winchester for a number of years later and firearms will still be turned out after 1899, although production had ended.
My best,
Blair