Forum non conveniens (Latin for "an inconvenient forum") (FNC) is a mostly common law legal doctrine through which a court acknowledges that another forum or court where the case might have been brought is a more appropriate venue for a legal case, and transfers the case to such a forum. A change of venue might be ordered, for example, to transfer a case to a jurisdiction within which an accident or incident underlying the litigation occurred and where all the witnesses reside. As a doctrine of the conflict of laws, forum non conveniens applies between courts in different countries and between courts in different jurisdictions in the same country. Forum non conveniens is not applicable between counties or federal districts within a state. A concern often raised in applications of the doctrine is forum shopping, or picking a court merely to gain an advantage in the proceeding. This concern is balanced against the public policy of deferring to a plaintiff's choice of venue in claims where there may be more than one appropriate jurisdiction. The underlying principles, such as basing respect given to foreign courts on reciprocal respect or comity, also apply in civil law systems in the form of the legal doctrine of lis alibi pendens. Forum non conveniens is not exclusive to common law nations: the maritime courts of the Republic of Panama, although not a common law jurisdiction, also have such power under more restrained conditions. Explanation A country, state, or other jurisdiction enacts laws which are interpreted and applied through a system of courts. The laws applied by a particular system of courts or legal system are termed the lex fori, or law of the forum. As a matter of civil procedure, courts must decide whether and in what circumstances they will accept jurisdiction over parties and subject matter when a lawsuit begins. This decision will be routine, or not raised at all, if the relevant elements of the case are within the territorial jurisdiction of the court. If one or more of the parties resides outside the territorial jurisdiction or there are other factors which might make another forum more appropriate, the question of jurisdiction must be settled. Historical origin Scholars and jurists agree that the concept is of a Scottish origin. Many early Scottish cases invoking FNC were under admiralty law. FNC thus may ultimately have a civil law origin, as has been asserted