Question: what is the capital of andhra pradesh and telangana
Answer: Andhra Pradesh 's longtime capital , Hyderabad , was transferred to Telangana as part of the division .