When did they finish filming Harry Potter and the Order of the Phoenix?

The film was released in 2007.