India has successfully launched a long-range intercontinental ballistic missile able to carry a nuclear warhead, officials say.
The Agni-V missile was launched from a site off India's east coast and took 20 minutes to hit its target somewhere near Indonesia in the Indian Ocean.
The missile has a range of more than 5,000km (3,100 miles), potentially bringing targets in China within range.
It is still unclear if it reached the 5,000km range India was hoping for.
If it is confirmed as a successful test, India would join an elite nuclear club of China, Russia, France, the US and UK which already have long-range missiles, although with a much greater range. Israel is also thought to possess them.
"It was a perfect launch. It met all the test parameters and hit its pre-determined target," SP Das, director of the test range, told the BBC.
Indian Prime Minister Manmohan Singh congratulated the scientists for the "successful launch" of the missile. It was launched from Wheeler Island off the coast of the eastern state of Orissa at 0805 local time (0235GMT) on Thursday
"Today's launch represents another milestone in our quest for our security, preparedness and to explore the frontiers of science," Mr Singh said.
'Historic moment'
The BBC's Andrew North in Delhi says Indian officials deny it, but everyone believes the missile is mainly aimed at deterring China.
Beijing did not immediately comment on the launch, but state-owned China Central Television (CCTV) said the test was "a historic moment for India and it shows that India has joined the club of the countries that own ballistic missiles", Associated Press reported.
CCTV listed some of the missile's shortcomings and said "it does not pose a threat in reality".
But the Agni-V will now in theory allow India to fire nuclear warheads at Beijing and Shanghai, defence analysts say.
It was only launched once officials were sure they had the best weather conditions - so this was as much a demonstration as a real test, to show India's rivals that it has this kind of capability, our correspondent says.
"Agni-V is to meet our present-day threat perceptions, which are determined by our defence forces and other agencies," DRDO spokesman Ravi Gupta told AFP news agency ahead of the launch.
"This is a deterrent to avoid wars and it is not country-specific," he said.
Analysts say the Agni (meaning "fire" in Hindi and Sanskrit) missile family is to be the cornerstone of India's missile-based nuclear deterrent.
The Agni-V is 17.5m tall, solid-fuelled, has three stages and a launch weight of 50 tons. It has cost more than 2.5bn rupees ($480m; £307m) to develop.
The missiles are among the country's most sophisticated weapons.
In 2010, India successfully test-fired Agni-II, an intermediate-range ballistic missile with a range of more than 2,000km (1,250 miles).