Sofia is the capital and largest city of Bulgaria, located in the western part of the country at the foot of Mount Vitosha. It has been Bulgaria's capital since 1879 and is one of the oldest capitals in Europe, with history dating back to the 8th century BC.