Rep. Jim Walsh, R-N.Y., will not seek re-election and will retire at the end of this term, FOX News has learned.

A formal announcement was scheduled later Thursday in Syracuse, N.Y.

Walsh, serving his 10th term, nearly lost his last election in 2006 to a former House Ways and Means Committee aide, Democrat Dan Maffei. Walsh's stance on the Iraq war has been an issue in his District.

Maffei is running again this year.

Walsh's retirement is the latest in a spate of Republican retirements this year. Walsh sits on the influential Appropriations Committee.

FOX News' Chad Pergram contributed to this report.