 Complete the following phrase:  By now first lieutet of a flagship, Beaver looked forward to further promotion to his own command. He was to be disappointed however, by the time Elphinstone, by now Lord Keith, was appointed to command the Mediterranean Station a year later, Beaver had not received a promotion, and followed Keith as first lieutet of the new flagship, HMS Foudroyant, later moving to HMS Barfleur. He appears to have clashed with the junior lieutets under his command, as they seemed to him to be appointed for promotion rather than for duty. He brought Thomas Cochrane, then a junior lieutet, to a court martial for disrespect. Cochrane was acquitted, but warned against flippancy. Beaver was told that the charge ought not to have been pressed. Beaver was made a commander on 19 June 1799, and Keith appointed him a few months later to serve aboard the flagship as acting assistant captain of the fleet. Beaver was placed in command of the bombardments as part of the 