The first was that of the Hijaz, with an Ottoman orientation. The second was that of the Nejd. Under this system, an Amir (similar to a regional governor), with the assistance of one judge, represented the law. The Amir would try to solve the disputes submitted to him or refer them to the judge for a final ruling. The implementation of the judge's decisions was the Amir's duty. The third, more primitive and indigenous, was the tribal law. Here, the conflicting parties would refer their disputes to the individual tribe's law.