Madja-as was a group of people who lived in a place called Visayas a long time ago. They decided to work together and form a group or a confederation, which is like a club. They did this because they wanted to be stronger and safer together than they would be alone.
When they formed the Confederation of Madja-as, they chose a leader who they called the "Datu." The Datu was in charge of making sure everyone in the group got along and worked together.
The Madja-as people also created rules or laws to follow, which they called "the Code of Kalantiaw." These laws helped to keep everyone safe and happy.
Each village in the Madja-as confederation had their own leader or Datu, but they would all work together to make important decisions. They would hold meetings and talk about what they all agreed on doing.
Overall, the Confederation of Madja-as was a group of people who decided to come together to form a stronger and safer community. They had a leader and laws to follow to keep everyone happy and safe.