If the centuries in question are obvious, "turn of the century" is enough. In this case, being specific, perhaps something like "during the late 19th and early 20th centuries" would have been better, as well as probably a more accurate description of the time period being referred to. I can understand your confusion.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.