It’s hard not to have sympathy for outgoing Homeland Security Secretary Kirstjen Nielsen.

She was battered by the left as the face of last year’s family separation policy and hampered by ­adverse court rulings that pushed back against administration policies. She also found herself on the receiving end of President Trump’s anger over the failure of her department to halt the surge of illegal immigration on our southern border — a crisis the left remains determined to ignore and wish away.

JAMES JAY CARAFANO: IF TRUMP CRITICS THINK DHS RESIGNATION WILL CHANGE HIS MIND ON THE BORDER, THINK AGAIN

On Sunday, her 16-month tour at Homeland Security came to an end when Nielsen submitted her resignation to the president.

For some Trump critics, this was yet another example of the chaos that supposedly reigns in the White House. Nielsen’s name will be added to the long list of those who have shuttled in and out of cabinet posts in the last two years. White House senior policy adviser and immigration hard-liner Stephen Miller is blamed for the shakeup at the department.

TO KEEP READING IN THE NEW YORK POST, CLICK HERE.