The witch cursed the poor girl.

Literal

Witch [topic-は] pitiful girl [object-を] cursed.

哀れな ('pitiful, wretched') is a na-adjective with a literary feel. 呪う (のろう, 'to curse') is the verb for placing a curse. A fairy-tale register sentence.