Colony of New South Wales
On 18 January 1788, the First Fleet led by Captain Arthur Phillip founded the first British settlement in Australian history as a penal colony. Having set sail on 13 May 1787, Captain Arthur Phillip assumed the role of governor of the settlement upon arrival, until 1792. 18 January 1788, the first ship of the First Fleet, with Phillip aboard, reached Botany Bay. Botany Bay found unsuitable by Phillip. After Phillip led exploration of Port Jackson, he, on the first ship, sailed and reached Sydney Cove on night of 25 January 1788. On morning of 26 January, men on board this ship went ashore and started clearing land for a camp. In the afternoon-evening, they erected a flag pole, raised the Union Jack, and the officers ashore made toasts to the Royal Family and the success of the colony. Likely, some, or all, ships of the First Fleet were present for the flag raising. On the morning of 27 January, all the fit male convicts, marines, and likely some ships' crew went ashore to establish the camp and find food, especially that having what today we call vitamin C. The female convicts came ashore on 6 February 1788 and likely officers wives and children if any. About mid-day 7 February 1788, the convicts, marines and others who were staying, were gathered by the Governor for the reading of the proclamation of New South Wales and a long reading of the rights of the convicts and others. Colony of NSW founded 7 February 1788. Before that, British naval administration applied.
European maritime exploration of Australia
In 1768 British Lieutenant James Cook was sent from England on an expedition to the Pacific Ocean to observe the transit of Venus from Tahiti, sailing westwards in via Cape Horn and arriving there in 1769. On the return voyage he continued his explorations of the South Pacific, in search of the postulated continent of Terra Australis. He first reached New Zealand, and then sailed further westwards to sight the south-eastern corner of the Australian continent on 20 April 1770. In doing so, he was to be the first documented European expedition to reach the eastern coastline. He continued sailing northwards along the east coast, charting and naming many features along the way. He identified Botany Bay as a good harbour and one potentially suitable for a settlement, and where he made his first landfall on 29 April. Continuing up the coastline, the "Endeavour" was to later run aground on shoals of the Great Barrier Reef (near the present-day site of Cooktown), where she had to be laid up for repairs. The voyage then recommenced, eventually reaching the Torres Strait and thence on to Batavia.