According to the US Military there are four major factors in leadership
You must have an honest understanding of who you are, what you know, and what you can do. It is the followers, not the leader or someone else who determines if the leader is successful. If they do not trust or lack confidence in their leader, then they will be uninspired. To be successful you have to convince your followers, not yourself or your superiors, that you are worthy of being followed.
Different people require different styles of leadership. For example, a new hire requires more supervision than an experienced employee. A person who lacks motivation requires a different approach than one with a high degree of motivation. You must know your people. The fundamental starting point is having a good understanding of human nature, such as needs, emotions, and motivation.
You lead through two-way communication. Much of the communication is nonverbal. For instance, when you “set the example,” that communicates to your people that you would not ask them to perform anything that you would not be willing to do. What and how you communicate either builds or harms the relationship between you and your employees.
All situations are different. What you do in one situation will not always work in another. You must use your judgment to decide the best course of action and the leadership style needed for each situation. For example, you may need to confront an employee for inappropriate behaviour, but if the confrontation is too late or too early, too harsh or too weak, then the results may prove ineffective.
Also note that the situation normally has a greater effect on a leader’s action than his or her traits. This is because while traits may have an impressive stability over a period of time, they have little consistency across situations.
Various forces will affect these four factors. Examples of forces are your relationship with your seniors, the skill of your followers, the informal leaders within your organisation, and how your organisation is organised.