What happened during Donald Trump’s day in court as a criminal defendant?

For the first time in history, a former US president has appeared in court as a criminal defendant.
Donald Trump surrendered to authorities on Tuesday after being indicted by a New York grand jury on charges related to hush-money payments at the height of the 2016 presidential election.