[6] In August 2017, the replacement for HMS Gleaner, the Royal Navy's existing inshore survey launch, was announced to be one of a total of 38 multi-role workboats of various sizes being constructed to undertake various duties.Following completion and initial trials by Safehaven Marine, Magpie was subsequently delivered to Atlas Elektronik UK (AEUK) for installation of its mission equipment.In April 2018, Magpie underwent further trials with its mission equipment installed,[2] before final delivery of the vessel to the Royal Navy in May 2018 for commissioning in early summer.[9] Magpie was procured under "Project Vahana", a programme to acquire up to 38 smaller boats in order to replace various Royal Navy vessels under 20 metres in length.[11] Once the work in Portsmouth harbour is complete, Magpie was tasked to survey the wreck site of the Mary Rose, Henry VIII's flagship, to search for anything of significance.