Khudat
Khudat () is a town in the Caspian lowlands located in the northern section of Azerbaijan. It is a part of the Khachmaz District. It has a population of 14,442. Khudat's time of historical significance took place in the 18th century, as the provincial capital of the Quba khanate under the rule of the Qajars. During this time, Hussein-khan, a native of the region, had spent time in Persia and adopted Shia Islam, creating favor in the eyes of the Shah, who granted him rule over both the Quba and Salyan khanates. Hussein-khan returned to the region  and established his capital in Khudat. This period lasted until 1747, when Persian ruler Nadir Shah was assassinated. Hussein-Ali, great-great-grandson of Hussein-khan, decided to try to turn the Quba khanate into an independent country and moved his capital to Quba due to the better natural defenses it offered to Khudat. The city subsequently fell out of importance in Azerbaijan and has become a location for launching excursions into the popular beaches and resorts of the Nabran area.