Abstract
Energy security is related to the political situation of individual countries and affects both national security and economic security. The article addresses both legal and economic issues. It discusses the importance of legal regulations and the country’s economic situation. It also addresses the context of the war between Russia and Ukraine and its impact on this security and energy transformation.