A top general at the Pentagon was suddenly removed from his senior post earlier this week for allegedly leaking classified information, according to a senior Pentagon official.

Lt. Gen. Brett Sylvia served in the Joint Staff as the Director for Strategy, Plans & Policy for 11 months, an important office that handles long-term strategic planning and that is known in military jargon as the J-5. Sylvia was removed from the position for a lack of confidence, a source told ABC News.

However, new information in a statement from a senior Pentagon to ABC News said Defense Secretary Pete Hegseth fired Sylvia because an inquiry determined that he had allegedly been leaking classified information to the press about the war with Iran, the war in Ukraine and other matters.