The number 9879 (nine thousand eight hundred seventy-nine) is written in Roman numerals as follows: IXDCCCLXXIX