When were locks first built on the Danube?

There are no locks on the Danube. The river is navigable without any locks for its entire length of 2,857 km (1,775 miles).
Copyright Wanderlust World © https://www.ynyoo.com