The Constitution is Singapore's supreme written law. It was originally contained in three basic documents, the Constitution of Singapore (originally the Constitution of the State of Singapore when it was a constituent state in Malaysia); the Republic of Singapore Independence Act, 1965; and the Constitution of Malaysia (part of which was applicable to Singapore).