They were buried in the city cemeteries and in temporary mass graves.[138] About 10,000 Communards escaped and went into exile in Belgium, England, Switzerland and the United States. Of the 45,000 prisoners taken after the fall of the Commune, most were released, but 23 were sentenced to death, and about 10,000 were sentenced to prison or deportation to New Caledonia or other prison colonies. All the prisoners and exiles were amnestied in 1879 and 1880 and most returned to France, where some were elected to the National Assembly.[139]