This depends on whether you are asking about a fully-animated film or one with some drawn animation.
If it's just the first film with drawn animation, the U.S.A. wins with
Humorous Phases of Funny Faces (The Vitagraph Company of America; released April 6, 1906). J. Stuart Blackton was the producer-director-animator. "Generally considered to be the first animated film," says a production note in BCDB, although it must be noted that there is some live action (of Blackton's hand!) involved.
This was
five years to the month
before Winsor McCay produced his first animated cartoon,
Little Nemo!
However...
If you're talking about the first cartoon consisting
entirely of drawn animation, the first was
Fantasmagorie (Gaumont Studios; released August 17, 1908). Émil Cohl was the producer, director and animator of this French cartoon!
Here's one of the production notes: "Fully animated with no live action, generally considered to be the first fully-animated film."
Take your pick.
But...
If you consider stop-action animated films (not just drawn animation) to be cartoons as well, the
very, very first was
The Humpty Dumpty Circus. This was released by The Vitagraph Company of America in 1898!!! Sorry, but all copies have disappeared.