Archaeological discoveries

Why did Edward Hargraves who discovered gold in Bathurst first come to Australia?

Edward Hargraves did not discover gold in Bathurst. He discovered it in Ophir, New South Wales. He came to Australia as part of the New South Wales Corps, a British military unit sent to establish a penal colony in Australia in 1788.