For the record, the mathematically correct answer to this question is that the year 2000 was the last year of the 19th century.
The reason is that year 0 never existed. The year 1 BCE was followed by the year 1 CE.
Culturally, anthropologically, and psychologically it might be a different matter. But 2000 years had not passed before the end of that year.