which is the earliest political documents to extend the notion of rights to citizens?

One of the earliest political documents that extended the notion of rights to citizens is the Magna Carta. It was agreed upon by King John of England and his barons in 1215. The Magna Carta established certain legal rights and restrictions on the power of the monarchy, including protections for property rights, due process of law, and the right to a fair trial. While it primarily applied to the nobility, it laid the groundwork for the concept of individual rights that would later be expanded upon in subsequent documents such as the English Bill of Rights (1689) and the United States Constitution (1787).