The trial of former President Donald Trump in New York, which has dominated headlines in the United States and across the world, is entering its final stage after more than six weeks of proceedings.