sentence: many of the barangay were , to varying extents , under the de jure jurisprudence of one of several neighboring empires , among them the malay sri vijaya , java majapahit , brunei , melaka empires , although de facto had established their own independent system of rule .