During this time a Government Junta of Chile as well as a National Congress were organized to administer the country during the imprisonment of the king. The Congress passed a law decreeing Liberty of the Womb, which stated that all children of slaves born on Chilean soil from that point onwards would be free. In 1812, the first constitutional decree was passed, which agreed to recognize the king if he accepted certain constitutional regulations.