Some time afterward, while working in a stone quarry for military prisoners, Riley is told by his former U.S. commander that he has been freed, to which he responds, "I have always been free". Riley returns to Mexico, locates Cortina, and finds Marta still alive. She still has the green flag of the St. Patrick's Battalion. Cortina recognizes her love for Riley and departs. Riley and Marta disappear into the wilderness. The epilogue explains that Gen. Winfield Scott, who had hoped to become President of the U.S., was defeated, and Gen. Zachary Taylor, who only wanted peace, was elected.
