Passage: The dispute escalated on 23 December. After having been put off for days, the sailors occupied the Imperial Chancellery itself, cut the phone lines, put the Council of People's Representatives under house arrest and captured Otto Wels. The sailors did not exploit the situation to eliminate the Ebert government, as would have been expected from Spartacist revolutionaries. Instead, they just insisted on their pay. Nevertheless, Ebert, who was in touch with the Supreme Command in Kassel via a secret phone line, gave orders to attack the Residence with troops loyal to the government on the morning of 24 December. The sailors repelled the attack under their commander Heinrich Dorrenbach, losing about 30 men and civilians in the fight. The government troops had to withdraw from the center of Berlin. They themselves were now disbanded and integrated into the newly formed Freikorps. To make up for their humiliating withdrawal, they temporarily occupied the editor's offices of the Red Flag. But military power in Berlin once more was in the hands of the People's Navy Division. Again, the sailors did not take advantage of the situation.

Question: When did the troops loyal to ebert attack the residence?
24 December