Dan Mazer (born 1971) is a British screenwriter, producer, and comedian. He is best known as the long-time writing and production partner of Sacha Baron Cohen and has worked with him on such characters as Ali G and Borat. Mazer co-wrote and co-produced the films Ali G Indahouse (2002), Borat (2006) and Brüno (2009). Mazer attended The Haberdashers' Aske's Boys' School, where he met Baron Cohen. He went on to read Law at Peterhouse, Cambridge University, and graduated in 1994. He was an active member of Cambridge Footlights while at university and was vice president from 1993 to 1994. His early work includes production roles on The Word, The Big Breakfast and The 11 O'Clock Show. In 2007, he was nominated for an Academy Award for Best Adapted Screenplay for co-writing the film Borat: Cultural Learnings of America for Make Benefit Glorious Nation of Kazakhstan. He shared his nomination with Sacha Baron Cohen, Ant Hines, Peter Baynham, and Todd Phillips. They ended up losing to The Departed. He is currently co-writing Lost for Words with Jamie Curtis. In 2013 he made his feature film directing debut with the British comedy I Give It a Year. He followed it with the 2016 American comedy Dirty Grandpa.