US film director and writer John Hughes, who created some of the most famous comedies of the 1980s and 1990s, has died at the age of 59.

The director died after a heart attack in New York, his spokeswoman said.

Hughes was the director of such successful films as ‘Ferris Bueller’s Day Off’, ‘The Breakfast Club’, and ‘Planes, Trains and Automobiles’.

He also penned the screenplay for the 1990 Macaulay Culkin film ‘Home Alone’.

Hughes is survived by his wife of 39 years, Nancy, two sons, John and James, and four grandchildren.