Input: Article: Another civil war ensued after the death of Karim Khan in 1779, out of which Aqa Mohammad Khan emerged, founding the Qajar Dynasty in 1794. In 1795, following the disobedience of the Georgian subjects and their alliance with the Russians, the Qajars captured Tblisi by the Battle of Krtsanisi, and drove the Russians out of the entire Caucasus, reestablishing a short-lived Iranian suzerainty over the region. The Russo-Persian wars of 18041813 and 18261828 resulted in large irrevocable territorial losses for Iran in the Caucasus, comprising all of Transcaucasia and Dagestan, which made part of the very concept of Iran for centuries, and thus substantial gains for the neighboring Russian Empire.

Now answer this question: Whose death in 1779 led to a civil war in Iran?

Output: Karim Khan

Input: Article: Later, the public bars gradually improved until sometimes almost the only difference was in the prices, so that customers could choose between economy and exclusivity (or youth and age, or a jukebox or dartboard).[citation needed] With the blurring of class divisions in the 1960s and 1970s,[citation needed] the distinction between the saloon and the public bar was often seen as archaic,[citation needed] and was frequently abolished, usually by the removal of the dividing wall or partition.[citation needed] While the names of saloon and public bar may still be seen on the doors of pubs, the prices (and often the standard of furnishings and decoration) are the same throughout the premises, and many pubs now comprise one large room. However the modern importance of dining in pubs encourages some establishments to maintain distinct rooms or areas.

Now answer this question: What was a common way of removing the division between the saloon and bar?

Output: removal of the dividing wall or partition

Input: Article: Napoleon's set of civil laws, the Code Civilnow often known as the Napoleonic Codewas prepared by committees of legal experts under the supervision of Jean Jacques Regis de Cambaceres, the Second Consul. Napoleon participated actively in the sessions of the Council of State that revised the drafts. The development of the code was a fundamental change in the nature of the civil law legal system with its stress on clearly written and accessible law. Other codes ("Les cinq codes") were commissioned by Napoleon to codify criminal and commerce law; a Code of Criminal Instruction was published, which enacted rules of due process.

Now answer this question: What was the contemporary term for the set of civil laws created by Napoleon?

Output:
the Code Civil