A four-alarm fire that broke out at a three-story apartment building around midnight Sunday.