WASHINGTON — Forty-five billion dollars. That’s how much the Pentagon says the Afghan war is costing American taxpayers, and with no end in sight they may have to keep footing that bill for years to come.

Lawmakers, skeptical about the prospects of victory, grilled the Trump administration Tuesday on the direction of the nation’s longest-running war, now in its 17th year. The Senate Foreign Relations Committee hearing comes after a wave of shocking militant attacks in Kabul that killed more than 200 people.

Randall Schriver, the Defense Department’s top Asia official, said the $45 billion total for the year includes $5 billion for Afghan forces and $13 billion for U.S. forces inside Afghanistan. Much of the rest is for logistical support