Castle Rackrent is a short novel by Maria Edgeworth published in 1800. It tells the story of four generations of Rackrent heirs through their steward, Thady Quirk. The heirs are the dissipated spendthrift Sir Patrick O'Shaughlin, the litigious Sir Murtagh Rackrent, the cruel husband and gambling absentee Sir Kit Rackrent, and the generous but improvident Sir Condy Rackrent. Their sequential mismanagement of the estate is resolved through the machinations—and to the benefit—of the narrator's astute son, Jason Quirk.