The official website for The Settlers of Catan

Question about Base Game Settlements and Cities - Can I build my first city only after I have built all my 5 settlements?

Answer

No.