Soon after Fraser's accession, controversy arose over the Whitlam government's actions in trying to restart peace talks in Vietnam. As the North prepared to end the civil war, Whitlam sent cables to both Vietnamese governments, telling Parliament that both cables were substantially the same. The Opposition contended he had misled Parliament, and a motion to censure Whitlam was defeated along party lines. The Opposition also attacked Whitlam for not allowing enough South Vietnamese refugees into Australia, with Fraser calling for the entry of 50,000. Freudenberg alleges that 1,026 Vietnamese refugees entered Australia in the final eight months of the Whitlam government, and only 399 in 1976 under Fraser. However, by 1977, Australia had accepted over five thousand refugees.