Which was a roll of the ephor in Spartan government

They made laws, or they acted as kings in Sparta, or they could remove the king from power, or they controlled the military

The ephors in Spartan government had various roles, including overseeing the implementation of laws, acting as judges, managing foreign affairs, supervising the king's actions, and exercising control over the military. They were elected annually and served as a check on the power of the two Spartan kings.