An Afghan national was sentenced to life imprisonment for raping and murdering a 17-year-old girl in Finland, Finnish news agency STT reported on Thursday.

The man was also asked to pay compensation totalling some $63,638 to the girl's mother and other family members, and another 69,000 euros of compensation for destroying a building.

The crime happened in Pori, western Finland in January, XInhua news agency reported.

Police said the Afghan national, who has lived in Finland for some time, was the ex-boyfriend of the girl. The girl left the man and he got angry and disappointed.

The man was convicted of murder, aggravated rape, aggravated damage to property and traffic offences. He said he will file an appeal.