The origin of the city starts with a fortress built by the Cossacks in order to defend imperial borders and claim Russian ownership over Circassia, which was contested by Ottoman Turkey. In the first half of the 19th century Yekaterinodar grew into a busy center of the Kuban Cossacks. It was granted town status in 1867. By 1888 about 45,000 people lived in the city and it became a vital trade center of southern Russia. In 1897, an obelisk commemorating 200 year old history of Kuban Cossack Host was built in Yekaterinodar.