After the Partition of the British Indian Empire, the Indian Penal Code was inherited by its successor states, the Dominion of India and the Dominion of Pakistan (where it continues as the Pakistan Penal Code). The Ranbir Penal Code (RPC) for Indian state of Jammu and Kashmir is also based on this code. After the separation of Bangladesh from Pakistan, the code continued in force there. The code was also adopted by the British colonial authorities in colonial Burma, Ceylon (modern Sri Lanka), the Straits Settlements (now part of Malaysia), Singapore and Brunei. It is the basis of the criminal codes in those countries.