Which Medieval composer was also a politician and author famous for his writings on music theory?

AGeoffrey Chaucer
BPhilippe de Vitry
CJosquin des Prez
DGuillame de Machaut