In practice, the slave codes of the Spanish colonies were local laws, similar to those in other regions. There was an overarching legal code, Las Siete Partidas, which granted many specific rights to the slaves in these regions, but there is little record of it actually being used to benefit the slaves in the Americas. Las Siete Partidas was compiled in the thirteenth century, long before the colonization of the new world, and its treatment of slavery was based on the Roman tradition. Frank Tannenbaum, an influential sociologist who wrote on the treatment of slaves in the Americas, treated the laws in Las Siete Partidas as an accurate reflection of treatment, but later scholarship has moved away from this viewpoint, arguing that the official laws in Las Siete Partidas did not reflect practices in the colonies.