The Treaty replaced the Republic by a dominion of the British Commonwealth with the King represented by a Governor-General of the Irish Free State . However , the Treaty proved controversial in Ireland insofar as it replaced the Republic by a dominion of the British Commonwealth with the King represented by a Governor-General of the Irish Free State .