The Colonial Attorney General is the chief legal advisor to the Colonial Government and the colonies chief law enforcement officer. Most Colonial Attorney Generals are elected by the colonists; however, some are appointed by their colonies governor, legislature, or supreme court. On some colonies, the attorney general serves as the head of a colonial department of justice