Historically, systems of measurement were initially defined and regulated to support trade and internal commerce. Units were arbitrarily defined by fiat (see statutory law) by the ruling entities and were not necessarily well inter-related or self-consistent. When later analyzed and scientifically, some quantities were designated as base units, meaning all other needed units of measure could be derived from them.