The method of selection of the party leader varies from party to party, though often it will involve an election involving all or part of the party membership.
The Prime Minister of the United Kingdom, Theresa May, gained the position on 13 July 2016; she had served as the party leader of the Conservative Party since 13 July 2016.