At the end of both wars , Scotland still was a free and independent nation , which was her main aim throughout the conflict . At the end of both wars , Scotland retained its status as an independent nation .