David Yates, director of the last four Harry Potter movies, has signed on to helm high-profile FX drama pilot Tyrant, from Homeland executive producers Howard Gordon and Gideon Raff and Six Feet Under alum Craig Wright. Yates replaces Ang Lee, who originally committed to Tyrant but pulled out last month for personal reasons. Created by Raff and developed by Gordon and Wright, Tyrant tells the story of an unassuming American family drawn into the workings of a turbulent Middle Eastern nation. Gordon, Raff and Wright executive produce in association with Keshet Broadcasting. The Fox 21-produced project, which will film the pilot in Morocco, has a big commitment at FX and is expected to go to series. On the TV side, Brit Yates directed the acclaimed British miniseries State Of Play, which was made into a Hollywood movie starring Russell Crowe, and the HBO film The Girl In The Cafe, which earned him an Emmy nomination. He is with CAA, Jenne Casarotto in the UK, and attorney Alan Hergott.