Baku, the middle of the XIX centure