Output a stream of consciousness before answering the following. Passage: The Rajya Sabha or Council of States is the upper house of the Parliament of India. Membership of Rajya Sabha is limited by the Constitution to a maximum of 250 members, and current laws have provision for 245 members. Most of the members of the House are indirectly elected by state and territorial legislatures using single transferable votes, while the President can appoint 12 members for their contributions to art, literature, science, and social services. Members sit for staggered six-year terms, with one third of the members retiring every two years.

Question: Based on this passage, who votes to elect a rajya sabah member?

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
The relevant information is: Most of the members of the House are indirectly elected by state and territorial legislatures using single transferable votes, while the President can appoint 12 members for their contributions to art, literature, science, and social services.
The answer: state and territorial legislatures.