Pakistan declared independence on 14th August 1947. Before 1947 Pakistan was part of India, which was under British control at that time. Two regions which had a Muslim majority separated, forming West Pakistan (now known simply as Pakistan), and East Pakistan (this is now Bangladesh).