"Ramillies", the fourth ship of her name to serve in the Royal Navy, was laid down at the William Beardmore and Company shipyard in Dalmuir, Scotland, on 12 November 1913. During construction, the decision was made to fit the vessel with anti-torpedo bulges, since her hull was the least complete of the members of her class. She was christened "Ramillies" after the 1706 Battle of Ramillies and was launched on 12 September 1916, but she struck the slipway, badly damaging the bottom of her hull and her rudders. Since the dry docks in Dalmuir were not long enough to accommodate "Ramillies", she would have to be towed to the Cammell Laird shipyard in Liverpool. The ship was not seaworthy, however, so temporary repairs were effected in Dalmuir before she could be towed to Liverpool. Captain Henry Doughty was appointed in command on 11 April. The initial repairs were completed by May 1917, and she departed on 7 May; she ran aground on the way and had to be pulled free by eight tugboats on 23 May. These accidents significantly delayed completion of the ship compared to her sister ships, and she was the last member of the "Revenge" class to enter service with the Grand Fleet. Captain Percy Grant relieved Doughty in July and the ship was assigned to the 1st Battle Squadron in September 1917. "Ramillies" conducted extensive sea trials to determine what effect the bulges had on her speed and stability, and when it became clear that the bulges did not significantly reduce her speed and in fact improved stability, the Admiralty decided to install them on all four of her sisters.