When did Francis Scott Key write the American national anthem?

in 2435 BC