The G7 is vowing to continue providing support for Ukraine "for as long as it takes" in a joint statement at their summit in Germany.
"We will continue to provide financial, humanitarian, military and diplomatic support and stand with Ukraine for as long as it takes," the G7 statement on support for Ukraine read.
The leaders also said it would be up to Ukraine to determine a diplomatic path ahead.
"We are committed to helping Ukraine to uphold its sovereignty and territorial integrity, to defend itself, and to choose its own future. It is up to Ukraine to decide on a future peace settlement, free from external pressure or influence," the statement read.
The leaders said they would work together to help Ukraine defend itself once the war ends.
"With a view to a viable post-war peace settlement, we are ready to reach arrangements together with interested countries and institutions and Ukraine on sustained security commitments to help Ukraine defend itself, secure its free and democratic future, and deter future Russian aggression," the statement read.