Is there any reason why your baby sleep so late?
Sometimes babies dont't sleep well because they are over-tired and over-stimulated. They can get nightmares. Maybe that's why your baby has been waking up crying in the middle of the night.
If possible try to get your baby to sleep earlier, like around 9pm. And try to have quiet and gentle activities just before sleeping.
I hope this helps!