Train fact, except I sound unsure because I'm kind of dazed.
Typically, cog railways are used on steep mountain lines because of the grip they can provide.
However, I think the first use of a cog railway was on flat ground sometime in 1812.
I think. I dunno.