In Louisiana's French and Spanish colonial era of the 18th century, enslaved Africans were commonly allowed Sundays off from their work. Although Code Noir was implemented in 1724, giving enslaved Africans the day off on Sundays, there were no laws in place giving them the right to congregate. Despite constant threat to these congregations, they often gathered in remote and public places such as along levees, in public squares, in backyards, and anywhere they could find. On Bayou St. John at a clearing called "la place congo" the various ethnic or cultural groups of Colonial Louisiana traded and socialized. It was not until 1817 that the mayor of New Orleans issued a city ordinance that restricted any kind of gathering of enslaved Africans to the one location of Congo Square. They were allowed to gather in the "Place des Nègres", "Place Publique", later "Circus Square" or informally "Place Congo" at the "back of town" (across Rampart Street from the French Quarter), where the enslaved would set up a market, sing, dance, and play music. This singing, dancing and playing started as a byproduct of the original market during the French reign. At the time the enslaved could purchase their freedom and could freely buy and sell goods in the square in order to raise money to escape slavery.