 In 1848, during the foundation of the Federal State, Erlach Castle became the district seat.However, thirty years later in 1874, it became a school.Erlach became a market town in 1367, when it was granted the right to hold a weekly market along with two yearly fairs.