Liberty, in philosophy, involves free will as contrasted with determinism.  In politics, liberty consists of the social and political freedoms to which all community members are entitled.  In theology, liberty is freedom from the effects of, "sin, spiritual servitude, [or] worldly ties." 
Generally, liberty is distinctly differentiated from freedom in that freedom is primarily, if not exclusively, the ability to do as one wills and what one has the power to do; whereas liberty concerns the absence of arbitrary restraints and takes into account the rights of all involved. As such, the exercise of liberty is subject to capability and limited by the rights of others. 
Philosophers from earliest times have considered the question of liberty. Roman Emperor Marcus Aurelius (121–180 AD) wrote of "a polity in which there is the same law for all, a polity administered with regard to equal rights and equal freedom of speech, and the idea of a kingly government which respects most of all the freedom of the governed." According to Thomas Hobbes (1588–1679), "a free man is he that in those things which by his strength and wit he is able to do is not hindered to do what he hath the will to do" (Leviathan, Part 2, Ch. XXI).
John Locke (1632–1704) rejected that definition of liberty. While not specifically mentioning Hobbes, he attacks Sir Robert Filmer who had the same definition. According to Locke:
- "In the state of nature, liberty consists of being free from any superior power on Earth. People are not under the will or lawmaking authority of others but have only the law of nature for their rule. In political society, liberty consists of being under no other lawmaking power except that established by consent in the commonwealth. People are free from the dominion of any will or legal restraint apart from that enacted by their own constituted lawmaking power according to the trust put in it. Thus, freedom is not as Sir Robert Filmer defines it: 'A liberty for everyone to do what he likes, to live as he pleases, and not to be tied by any laws.' Freedom is constrained by laws in both the state of nature and political society. Freedom of nature is to be under no other restraint but the law of nature. Freedom of people under government is to be under no restraint apart from standing rules to live by that are common to everyone in the society and made by the lawmaking power established in it. Persons have a right or liberty to (1) follow their own will in all things that the law has not prohibited and (2) not be subject to the inconstant, uncertain, unknown, and arbitrary wills of others."
John Stuart Mill (1806–1873), in his work, On Liberty, was the first to recognize the difference between liberty as the freedom to act and liberty as the absence of coercion.  In his book Two Concepts of Liberty, Isaiah Berlin formally framed the differences between these two perspectives as the distinction between two opposite concepts of liberty: positive liberty and negative liberty. The latter designates a negative condition in which an individual is protected from tyranny and the arbitrary exercise of authority, while the former refers to the liberty that comes from self-mastery, the freedom from inner compulsions such as weakness and fear.
The modern concept of political liberty has its origins in the Greek concepts of freedom and slavery. To be free, to the Greeks, was not to have a master, to be independent from a master (to live as one likes). That was the original Greek concept of freedom. It is closely linked with the concept of democracy, as Aristotle put it:
- "This, then, is one note of liberty which all democrats affirm to be the principle of their state. Another is that a man should live as he likes. This, they say, is the privilege of a freeman, since, on the other hand, not to live as a man likes is the mark of a slave. This is the second characteristic of democracy, whence has arisen the claim of men to be ruled by none, if possible, or, if this is impossible, to rule and be ruled in turns; and so it contributes to the freedom based upon equality." 
This applied only to free men. In Athens, for instance, women could not vote or hold office and were legally and socially dependent on a male relative. 
The populations of the Persian Empire enjoyed some degree of freedom. Citizens of all religions and ethnic groups were given the same rights and had the same freedom of religion, women had the same rights as men, and slavery was abolished (550 BC). All the palaces of the kings of Persia were built by paid workers in an era when slaves typically did such work. 
In the Buddhist Maurya Empire of ancient India, citizens of all religions and ethnic groups had some rights to freedom, tolerance, and equality. The need for tolerance on an egalitarian basis can be found in the Edicts of Ashoka the Great, which emphasize the importance of tolerance in public policy by the government. The slaughter or capture of prisoners of war also appears to have been condemned by Ashoka.  Slavery also appears to have been non-existent in the Maurya Empire.  However, according to Hermann Kulke and Dietmar Rothermund, "Ashoka's orders seem to have been resisted right from the beginning." 
Roman law also embraced certain limited forms of liberty, even under the rule of the Roman Emperors. However, these liberties were accorded only to Roman citizens. Many of the liberties enjoyed under Roman law endured through the Middle Ages, but were enjoyed solely by the nobility, rarely by the common man. The idea of inalienable and universal liberties had to wait until the Age of Enlightenment.
The social contract theory, most influentially formulated by Hobbes, John Locke and Rousseau (though first suggested by Plato in The Republic ), was among the first to provide a political classification of rights, in particular through the notion of sovereignty and of natural rights. The thinkers of the Enlightenment reasoned that law governed both heavenly and human affairs, and that law gave the king his power, rather than the king's power giving force to law. This conception of law would find its culmination in the ideas of Montesquieu. The conception of law as a relationship between individuals, rather than families, came to the fore, and with it the increasing focus on individual liberty as a fundamental reality, given by " Nature and Nature's God," which, in the ideal state, would be as universal as possible.
In On Liberty, John Stuart Mill sought to define the "...nature and limits of the power which can be legitimately exercised by society over the individual," and as such, he describes an inherent and continuous antagonism between liberty and authority and thus, the prevailing question becomes "how to make the fitting adjustment between individual independence and social control". 
Origins of political freedom
England and Great Britain
England and following the Act of Union 1707 Great Britain, laid down the cornerstones to the concept of individual liberty.
In 1215 the Magna Carta was drawn up, it became the cornerstone of liberty in first England, Great Britain and later, the world.
In 1859 an essay by the philosopher John Stuart Mill, entitled On Liberty argues for toleration and individuality. If any opinion is compelled to silence, that opinion may, for aught we can certainly know, be true. To deny this is to assume our own infallibility.  
In 1948 British representatives attempt to and are prevented from adding a legal framework to the Universal Declaration of Human Rights. (It was not until 1976 that the International Covenant on Civil and Political Rights came into force, giving a legal status to most of the Declaration.) 
According to the 1776 United States Declaration of Independence, all men have a natural right to "life, liberty, and the pursuit of happiness". But this declaration of liberty was troubled from the outset by the presence of slavery. Slave owners argued that their liberty was paramount, since it involved property, their slaves, and that the slaves themselves had no rights that any White man was obliged to recognize. The Supreme Court, in the Dred Scott decision, upheld this principle. It was not until 1866, following the Civil War, that the US Constitution was amended to extend these rights to persons of color, and not until 1920 that these rights were extended to women. 
By the later half of the 20th century, liberty was expanded further to prohibit government interference with personal choices. In the United States Supreme Court decision Griswold v. Connecticut, Justice William O. Douglas argued that liberties relating to personal relationships, such as marriage, have a unique primacy of place in the hierarchy of freedoms.  Jacob M. Appel has summarized this principle:
I am grateful that I have rights in the proverbial public square – but, as a practical matter, my most cherished rights are those that I possess in my bedroom and hospital room and death chamber. Most people are far more concerned that they can control their own bodies than they are about petitioning Congress. 
In modern America, various competing ideologies have divergent views about how best to promote liberty. Liberals in the original sense of the word see equality as a necessary component of freedom. Progressives stress freedom from business monopoly as essential. Libertarians disagree, and see economic freedom as best. The Tea Party movement sees big government as the enemy of freedom.  
France supported the Americans in their revolt against English rule and, in 1789, overthrew their own monarchy, with the cry of "Liberté, égalité, fraternité". The bloodbath that followed, known as the reign of terror, soured many people on the idea of liberty. Edmund Burke, considered one of the fathers of conservatism, wrote "The French had shewn themselves the ablest architects of ruin that had hitherto existed in the world." 
According to the Concise Oxford Dictionary of Politics, liberalism is "the belief that it is the aim of politics to preserve individual rights and to maximize freedom of choice ". But they point out that there is considerable discussion about how to achieve those goals. Every discussion of freedom depends on three key components: who is free, what they are free to do, and what forces restrict their freedom.  John Gray argues that the core belief of liberalism is toleration. Liberals allow others freedom to do what they want, in exchange for having the same freedom in return. This idea of freedom is personal rather than political.  William Safire points out that liberalism is attacked by both the Right and the Left: by the Right for defending such practices as abortion, homosexuality, and atheism, by the Left for defending free enterprise and the rights of the individual over the collective. 
According to the Encyclopædia Britannica, Libertarians hold liberty as their primary political value.  Their approach to implementing liberty involves opposing any governmental coercion, aside from that which is necessary to prevent individuals from coercing each other. 
According to republican theorists of freedom, like the historian Quentin Skinner   or the philosopher Philip Pettit,  one's liberty should not be viewed as the absence of interference in one's actions, but as non-domination. According to this view, which originates in the Roman Digest, to be a liber homo, a free man, means not being subject to another's arbitrary will, that is to say, dominated by another. They also cite Machiavelli who asserted that you must be a member of a free self-governing civil association, a republic, if you are to enjoy individual liberty. 
The predominance of this view of liberty among parliamentarians during the English Civil War resulted in the creation of the liberal concept of freedom as non-interference in Thomas Hobbes' Leviathan.
Socialism and Marxism
Socialists view freedom as a concrete situation as opposed to a purely abstract ideal. Freedom involves agency to pursue one's creative interests unhindered by coercive social relationships that one is forced to engage in in order to survive under a given social system. From this perspective, freedom requires both the material economic conditions that make freedom possible alongside the social relationships and institutions conducive to freedom. As such, the socialist concept of freedom is a specific interpretation of the liberal concept of freedom. 
The socialist conception of freedom is closely related to the socialist view of creativity and individuality. Influenced by Karl Marx's concept of alienated labor, socialists understand freedom to be the ability for an individual to engage in creative work in the absence of alienation, where alienated labor refers to work people are forced to perform and un-alienated work refers to individuals pursuing their own creative interests.
For Karl Marx, meaningful freedom is only attainable in a communist society characterized by superabundance and free access, would eliminate the need for alienated labor and enable individuals to pursue their own creative interests, leaving them to develop their full potentialities. This goes alongside Marx's emphasis on the reduction of the average length of the workday to expand the "realm of freedom" for each person. Marx's notion of communist society and human freedom is thus radically individualistic. 
Some authors have suggested that a virtuous culture must exist as a prerequisite for liberty. Benjamin Franklin stated that "only a virtuous people are capable of freedom. As nations become corrupt and vicious, they have more need of masters." Madison likewise declared: "To suppose that any form of government will secure liberty or happiness without any virtue in the people, is a chimerical idea." John Adams acknowledged: "Our constitution was made only for a moral and religious people. It is wholly inadequate to the government of any other."
Historical writings on liberty
- John Locke (1689). Two Treatises of Government: In the Former, the False Principles, and Foundation of Sir Robert Filmer, and His Followers, Are Detected and Overthrown. the Latter Is an Essay Concerning the True Original, Extent, and End of Civil Government. London: Awnsham Churchill.
- Frédéric Bastiat (1850). The Law. Paris: Guillaumin & Co.
- John Stuart Mill (1859). On Liberty. London: John W Parker and Son.
- James Fitzjames Stephen (1874).. London: Smith, Elder, & Co.