"Medina", the twelfth ship of her name to serve in the Royal Navy, was ordered on 30 March 1838, laid down in June 1839 at Pembroke Dockyard, Wales, and launched on 18 March 1840.She was completed in April 1840 and commissioned on 19 October 1848 for packet duties in the Mediterranean.