When did the Swan River colony become Western Australia?

The territory of the Swan River colony was claimed for Britain on 2 May 1829, when Captain Fremantle raised the Union Jack on the south head.

The actual colony of Western Australia was proclaimed on 18 June 1829, and two months later, Perth was also founded.