How was Nauru colonised?

Nauru was colonized by the British in 1798. It was held by the Germans between 1888 to 1914 after it was been seized by the Australians. Nauru is a small island in the Central Pacific Ocean.