"The girl had died here."
était morte means she was dead, not she died which is avait meurt, that's what i think anyway
Mourir is a special. The auxiliary verb used with its past participle (mort) is "être". So "Je suis mort" means "I have died" even though it looks like "I am dead".
So for the plus-que-parfait you would say "J'étais mort" for "I had died".
Here is a list of some other verbs like this: http://french.about.com/od/grammar/a/etreverbs.htm
"Je suis mort" means both "I have died" and "I am dead". Same thing for 'tu/il/nous/vous/ils', despite it's quite science fiction for some of 'je/tu/il/nous/vous/ils', it means both.