Question: Which episode did actor A. J. Buckley last appear in?
SQL: SELECT last_appearance FROM table_11240028_1 WHERE portrayed_by = "A. J. Buckley"