The city's history dates back to the 16th century. After the Russo-Persian War (1722-1723), Lankaran fell into the hands of the Russians (1728-1732) until it was ceded to Iran under the Treaty of “Rasht” in 1732. The city fell into the hands of the Iranians again between two years (1804-1813). ) During the wars that broke out between Russia and the Persians in that period.