Notably, it was not formally possible to buy a commission in the British Navy. This is because the British Empire was an island and so their Navy actually mattered and couldn’t be lead by a bunch of idiots with vanity titles.
It was only at the end of the 17th century that Samuel Pepys introduced the officers apprenticeship, which of course, was mostly open to (again) high-born kids and people who got favors from the crown, but at least they had to have years of experience first and pass an exam. So the Royal Navy Officers were still literally nepo babies.
Horatio Nelson
[1] https://en.wikipedia.org/wiki/Horatio_Nelson,_1st_Viscount_N...