Which state is Perth the capital of?

Perth is the capital of Western Australia
Western Australia.