The first dunce whose name has been transmitted to fame. His rivals are Codrus and Flecknoe.
“Margites was the name ... whom Antiquity recordeth to have been dunce the first.” —Pope Dunciad (Martinus Scriblcrus).
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Margites from Infoplease: