In June 2017, Azerbaijan and Iranian Railways signed an agreement within the framework of the project “Construction and operation of the Astara loading and unloading terminal”.
"Iran and Azerbaijan are expected to finalize a deal to create a crucial rail link during the upcoming visit to Baku by the Iranian President Hassan Rouhani. Javid Gurbanov, the head of Azerbaijan Railways, has been quoted by the country's media as saying that a key document over the project - which envisages connecting Iran's northern city of Rasht with Azerbaijan's Astara - will be signed when Rouhani visits Baku in early August. 'President Hassan Rouhani is expected to visit Azerbaijan tentatively on August 8-10. A document on the financing of the project to build the Rasht-Astara railway may be signed during this visit,' Gurbanov said. He said, citing Iranian experts, that the cost of building the Rasht-Astara railway is projected at $900 million, Itar-Tass has quoted him as telling Azerbaijan's ANS television." (Press TV, “Rouhani to finalize rail deal in Baku visit,” 6/13/2016)