The number 9865 (nine thousand eight hundred sixty-five) is written in Roman numerals as follows: IXDCCCLXV