The British decided to use the land visited by Captain Cook as a prison colony. Britain needed a place to send its convicts (people who had been sent to jail for theft and other crimes) because its gaols were full and it had just lost its American colonies in the American War of Independence. In 1788 the British First Fleet of 11 ships, carrying about 1500 people arrived at Botany Bay (Sydney). Arthur Phillip led them as the first Governor of New South Wales. About 160 000 convicts were brought to Australia from 1788 until 1868. Free immigrants began arriving in the 1790s.