When Daniel learned that the written document had been signed, he went to an upstairs room in his house that had windows opened facing Jerusalem. Three times a day he would kneel down, pray, and give thanks to his God, just as he had previously done.