Why did the European government decide to establish a colony at the Swan River?

In 1829, Captain Charles Fremantle was sent to take formal possession of the remainder of New Holland which had not already been claimed for Britain under the territory of New South Wales. This was so that the French could not make a claim on the land. There had already been some French exploration in the area, and the English wanted to be able to claim the entire continent.