There have been 83 royal yachts of the monarchy of the United Kingdom since the restoration of the monarchy in 1660. Charles II had 25 royal yachts, while five were simultaneously in service in 1831. Merchantmen or warships have occasionally been chartered or assigned for special duty as a temporary royal yacht, for example the steamship Ophir in 1901 and the battleship HMS Vanguard in 1947.