Bangladesh's legal system is based on common law and its principal source of laws are acts of Parliament. The Bangladesh Code includes a list of all laws in force in the country. The code begins in 1836 and most of its listed laws were crafted under the British Raj by the Bengal Legislative Council, the Bengal Legislative Assembly, the Eastern Bengal and Assam Legislative Council, the Imperial Legislative Council and the Parliament of the United Kingdom. One example is the 1860 Penal Code. From 1947 to 1971, laws were enacted by Pakistan's national assembly and the East Pakistani legislature. The Constituent Assembly of Bangladesh was the country's provisional parliament until 1973, when the first elected Jatiyo Sangshad (National Parliament) was sworn in. Although most of Bangladesh's laws were compiled in English, after a 1987 government directive laws are now primarily written in Bengali. While most of Bangladeshi law is secular; marriage, divorce, and inheritance are governed by Islamic, Hindu and Christian family law. The judiciary is often influenced by legal developments in the Commonwealth of Nations, such as the doctrine of legitimate expectation.