It was the third hostage drama to grip Poland in recent years as the former communist state has grown into an active NATO member and U.S. ally with military and commercial involvement in Iraq and Afghanistan .