The Swan River Colony was a British colony on the Swan River in Western Australia, which wanted to build both the private investor Thomas Peel and the military James Stirling on the continent of Australia. The name was pars pro toto (a part for the whole) for Western Australia, because it was only in 1832 that the colony was officially renamed Western Australia, when James Stirling was later named the first governor. Nevertheless, the name Swan River Colony was still in use for many years.