They were constituted as a union territory by the 12th Constitutional Amendment Act, 1962.