Leonberg is a town in the German federal state of Baden-Wuerttemberg about 10 miles to the west of Stuttgart, the state capital. Approximately 45,000 people live in Leonberg, making it the third biggest borough in the rural district ('Landkreis') of Böblingen (after Sindelfingen and Böblingen to the south).