On the 14th of August 1947 Pakistan gained independence from the British Empire. Pakistan then joined the Commonwealth of Nations, the Commonwealth of Nations, or the Commonwealth (formerly the British Commonwealth), is an intergovernmental organisation of 53 member states that were mostly territories of the former British Empire. The Commonwealth operates by intergovernmental consensus of the member states, organised through the Commonwealth Secretariat, and non-governmental organisations, organised through the Commonwealth Foundation.
Pakistan gained independence via the Pakistan Movement which was a political movement in the 1940s that aimed for and succeeded in the creation of Pakistan from the Muslim-majority areas of British India. The movement progressed within India alongside the Indian independence movement, but the Pakistan Movement sought to establish a new nation-state that protected the religious identity and political interests of Muslims in South Asia.