Passage: The loss of Shusha led the Azerbaijani parliament to lay the blame on Yaqub Mammadov, then acting President of Azerbaijan, which removed him from power and cleared Mutalibov of any responsibility after the loss of Khojaly, reinstating him as President on 15 May 1992. Many Azerbaijanis saw this act as a coup, in addition to forestalling parliamentary elections due in June of that year. The Azerbaijani parliament at that time was made up of former leaders from the country's communist regime, and the losses of Khojaly and Shusha led to further agitation for free elections.To contribute to the turmoil, an offensive was launched by Armenian forces on 18 May to take the city of Lachin in the narrow corridor separating Armenia and Nagorno-Karabakh. The city itself was poorly guarded and, within the next day, Armenian forces took control of the town and cleared any remaining Azerbaijanis to open the road that linked the region to Armenia. The taking of the city then allowed an overland route to be connected with Armenia itself with supply convoys beginning to trek up the mountainous region of Lachin to Karabakh.The loss of Lachin was the final blow to Mutalibov's regime. Demonstrations were held despite Mutalibov's ban and an armed coup was staged by Popular Front activists. Fighting between government forces and Popular Front supporters escalated as the political opposition seized the parliament building in Baku as well as the airport and presidential office. On 16 June 1992 Abulfaz Elchibey was elected leader of Azerbaijan with many political leaders from the Azerbaijan Popular Front Party were elected into the parliament. The instigators lambasted Mutalibov as an undedicated and weak leader in the war in Karabakh. Elchibey was staunchly against receiving any help from the Russians, instead favoring closer ties to Turkey.The fighting also spilled into nearby Nakhchivan, which was shelled by Armenian troops in May 1992.

Question: Who formed a closer relationship with Turkey?
Azerbaijan