Original: Bonham Carter played Bellatrix Lestrange in 2007's Harry Potter and the Order of the Phoenix and 2009's Harry Potter and the Half-Blood Prince.
Simplified: Carter played Bellatrix Lestrange in Harry Potter and the Order of the Phoenix, which was released in 2007.