Complex sentence: In 2009 Byrne earned the role of Pansy Parkinson in the sixth film in the popular "Harry Potter" series, "Harry Potter and the Half-Blood Prince", before reprising her role in the final two films of the series.
Split into simpler sentences: In 2009 Byrne earned the role of Pansy Parkinson in the sixth film in the popular "Harry Potter" series titled "Harry Potter and the Half-Blood Prince". Byrne returned for the role in the final two films of the series.