The Magna Carta laid the foundation for constitutional principles by introducing fundamental rights and liberties and establishing the principle that even the king was subject to the law.