Complex sentence: The company remained at the hospital until it was closed and was mustered out of service on August 25,1865.
Split into simpler sentences: The company remained at the hospital until it was closed. The hospital was closed on August 25,1865.