The basic law ensured Hong Kong will retain its own currency (the Hong Kong Dollar), legal system, parliamentary system and people's rights and freedom for fifty years; which means that the agreement will end in 2047. This agreement had given Hong Kong the freedom to functions as its own country instead of a part of China, Hong Kong citizens experience freedom in various ways compare with the citizens in mainland such as the freedom of speech, freedom in media and press.