Ralph gains power by being elected leader.
It depends what chapter your referring to but most of the time he reminds the boys that following his rules will help towards their rescue and eventual return home where Jack's will result in some meat and games but no rescue.
Ostensibly it is Ralph, although his position is challenged later in the story by Jack
Ralph is elected chief during the very first meeting, which happens very early in the book.
Piggy voted for Ralph to be chief in the novel "Lord of the Flies" by William Golding.
Ralph's demonstration of his hunting prowess leads him to gain respect and admiration from the other boys, particularly Jack and the hunters. It also establishes his authority as a capable leader and contributes to his position as the chief of the group. Additionally, it helps to foster a sense of unity and camaraderie among the boys.
Jack challenges Ralph's leadership by criticizing his abilities as a leader. Jack implies that Ralph lacks important skills such as hunting and singing, which are valued traits on the island. This challenges Ralph's authority and undermines his position as chief.
Ralph
Ralph Wiggum's Dad is Police Chief Wiggum.
Ralph is made chief in Chapter 1 of "Lord of the Flies" by William Golding.
chief
Ralph
Samneric ratted Ralph out because Ralph was torturing them.