Portuguese law applied in the former colonies and territories and continues to be the major influence for those countries.