'Nancy' was a Malacca gunboat that arrived at Pedra Branca on 1 May 1848 to combat piracy in the area. It was also meant to provide protection and servicing to J.T. Thomson's crew working on the Horsburgh Lighthouse, which can be seen in the background of this painting. The lighthouse was completed in 1851 after four years of construction.