york was western australia's first inland town (founded 1831) and in 1852 the first part of the courthouse complex, the cell block and police station, was built. as the town prospered and expanded, so did the complex. a courtroom was added in 1859, the police station was expanded, and a troopers? cottage, stables and yard were built to the rear. with the influx of money from the goldfields, part of the complex was demolished and a new two-storey courthouse was built in 1895.