Landshut is a city in Bavaria, Germany, on the Isar River. It is the capital of the district of Landshut. From the 9th century to the 18th century, it was the seat of the dukes of Bavaria-Landshut. The city is a commercial and cultural center in the region. The city's architectural heritage reflects the history of its various rulers. There are buildings from the Romanesque period, the Gothic period, the Renaissance, and the Baroque period. The most important churches are the Gothic St. Martin's Church and the Renaissance Church of Our Lady. The city hall, which is also a Gothic building, is one of the most impressive in Germany. The old castle, now a museum, is also worth seeing. Landshut is also a center of the German economy. The city is home to the headquarters of Siemens AG and MAN AG. It is also the birthplace of the BMW automobile.