The name "Sofia" comes from ancient Greek and means "wisdom". The city was renamed in honor of the Saint Sofia Church in the 14th century.