Why did Poseidon and Athena compete for the city of Athens?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In Greek mythology, Poseidon and Athena competed for patronage of the city of Athens. Poseidon struck a rock with his trident, creating a spring of salt water, while Athena offered the olive tree. The citizens of Athens chose Athena's gift, and the city was named in her honor. Athena was revered as the city's protector, goddess of war, handicraft, and practical reason.123