By MIKE BAKEROLYMPIA, Wash. (AP) â¿¿ If history is any judge, the U.S. government will be paying for the Iraq and Afghanistan wars for the next century as service members and their families grapple with the sacrifices of combat. An Associated Press analysis of federal payment records found that the government is still making monthly payments to relatives of Civil War veterans â¿¿ 148 years after the conflict ended. At the 10 year anniversary of the start of the Iraq war, more than $40 billion a year are going to compensate veterans and survivors from the Spanish-American War from 1898, World War I and II, the Korean War, the Vietnam War, the two Iraq campaigns and the Afghanistan conflict. And those costs are rising rapidly. U.S. Sen. Patty Murray said such expenses should remind the nation about war's long-lasting financial toll. "When we decide to go to war, we have to consciously be also thinking about the cost," said Murray, D-Wash., adding that her WWII-veteran father's disability benefits helped feed their family. Alan Simpson, a former Republican senator and veteran who co-chaired President Barack Obama's deficit committee in 2010, said government leaders working to limit the national debt should make sure that survivors of veterans need the money they are receiving. "Without question, I would affluence-test all of those people," Simpson said. With greater numbers of troops surviving combat injuries because of improvements in battlefield medicine and technology, the costs of disability payments are set to rise much higher. The AP identified the disability and survivor benefits during an analysis of millions of federal payment records obtained under the Freedom of Information Act. To gauge the post-war costs of each conflict, AP looked at four compensation programs that identify recipients by war: disabled veterans; survivors of those who died on active duty or from a service-related disability; low-income wartime vets over age 65 or disabled; and low-income survivors of wartime veterans or their disabled children.