Founded in NUMBER@1 as a simple rail depot on the railway linking LOCATION@1 to LOCATION@2 , the town quickly grew to become the capital of LOCATION@3 in NUMBER@2 and eventually the capital of a free MISC@1 republic in NUMBER@3 .

The city was founded in NUMBER@1 as a railway depot linking LOCATION@2 to LOCATION@1 .
