Ansbach, or Anspach, originally Onolzbach, a town of Germany, in the kingdom of Bavaria, on the Rezat, 27 m. by rail S.W. of Nuremberg, and 90 m. N. of Munich. Pop. (1900) 17,555. It contains a palace, once the residence of the margraves of Anspach, with fine gardens, several churches, the finest of which are those dedicated to St John, containing the vault of the former margraves, and St Gumbert; a gymnasium; a picture gallery; a municipal museum and a special technical school. Ansbach possesses monuments to the poets August, Count von Platen-Hallermund, and Johann Peter Uz, who were born here, and to Kaspar Hauser, who died here. The chief manufactures are machinery, toys, woollen, cotton, and half-silk stuffs, embroideries, earthenware, tobacco, cutlery and playing cards. There is considerable trade in grain, wool and flax. In 1791 the last margrave of Anspach sold his principality to Frederick William II., king of Prussia; it was transferred by Napoleon to Bavaria in 1806, an act which was confirmed by the congress of Vienna in 1815.