in extremis

"at the point of death," 16c., Latin, literally "in the farthest reaches," from ablative plural of extremus "extreme" (see extreme (adj.)).