"Merlin", the twelfth ship of her name to serve in the Royal Navy, was ordered on 10 March 1838, laid down the following month at Pembroke Dockyard, Wales, and launched on 18 September 1838.She was completed in April 1839 and commissioned on 20 April.