 Complete the following phrase:  Hamley was promoted captain in 1850, and in 1851 went to Gibraltar, where he began his literary career by contributing articles to magazines. He served throughout the 