The word "kangaroo" derives from the Guugu Yimithirr word gangurru, referring to grey kangaroos.[10][11] The name was first recorded as "kanguru" on 12 July 1770 in an entry in the diary of Sir Joseph Banks; this occurred at the site of modern Cooktown, on the banks of the Endeavour River, where HMS Endeavour under the command of Lieutenant James Cook was beached for almost seven weeks to repair damage sustained on the Great Barrier Reef.[12] Cook first referred to kangaroos in his diary entry of 4 August. Guugu Yimithirr is the language of the people of the area.