The treaty called for the Californios to give up their artillery, and provided that all prisoners from both sides be immediately freed. Those Californios who promised not to again take up arms during the war, and to obey the laws and regulations of the United States, were allowed to peaceably return to their homes and ranchos. They were to be allowed the same rights and privileges as were allowed to citizens of the United States, and were not to be compelled to take an oath of allegiance until a treaty of peace was signed between the United States and Mexico, and were given the privilege of leaving the country if they wished to do so.