Hong Kong was given the right to retain its system of government for at least fifty years. It was to remain an open port, issue its own currency, permit free speech, including criticism of the Communist Party, and maintain its court system with local laws and the right to make final decisions—as long as they did not interfere with China's security or foreign relations.