An historic and iconic portrait of England's Elizabeth I has been "saved" and put into public ownership for the first time in its history.