The lunar eclipse went on for more than three hours and began shortly before midnight.