Perth is the capital of Western Australia, where the Swan River meets the southwest coast.