The Last Samurai, 2003
The US flag with 43 stars flashes in the film now and then. But the action takes place in 1876 and 43 stars on the flag appeared first in 1891, when the states of South and North Dakota, Montana, Washington, and Idaho joined.