The Convention Parliament offered the throne to William and Mary, who accepted it along with the provisions of a declaration of rights, later enacted into law as the Bill of Rights in 1689. The Bill of Rights affirmed Parliament's right to make laws and levy taxes and made it impossible for kings to oppose or do without Parliament by stipulating that standing armies could be raised only with the consent of Parliament. Both elections and debates of Parliament had to be free, meaning that the king could not interfere. The rights of citizens to petition the sovereign, keep arms, have a jury trial, and not be subject to excessive bail were also confirmed. The Bill of Rights helped fashion a system of government based on the rule of law and a freely elected Parliament, laying the foundation for a constitutional monarchy.