(CNN) -- An Australian court sentenced a teenager to 13 years in prison on Thursday for killing an Indian student last year in a case that created tension between the Australian and Indian governments.
He was 15 years old when he stabbed the student, Nitin Garg, while trying to steal his wallet in Melbourne, said Richard Reed, an inspector with the Victoria Police in Australia.
The attack took place in January 2010 as Garg, 21, walked to work from a train station through a public park.
The killer, who could not be identified because of his age, must serve a minimum of eight years of his sentence, Reed said.
After the killing, the Indian government issued an advisory for its college students studying in Australia, warning them not to travel alone late at night. It said attacks on Indian students and the wider Indian community in Australia had been rising prior to the killing.
The Australian government insisted that the country was safe for international students.
CNN's Elizabeth Joseph contributed to this report.