Democrat Senator Barack Obama on Saturday resigned from his church in Chicago in the aftermath of inflammatory remarks by his longtime pastor, the Rev. Jeremiah Wright, and more recent fiery remarks at the Trinity United Church of Christ by another minister. "This is not a decision I come to lightly ... and it is one I make with some sadness," he said at a news conference in South Dakota after campaign officials released a letter of resignation sent to the church on Friday. South Dakota and Montana hold their primaries - the last of the campaign season - on Tuesday. Comments by Wright blaming US policies for the Sept. 11, 2001 terror attacks had inflamed racial tensions and posed an unwanted problem for Obama as he seeks to wrap up the nomination. In South Dakota, Obama said he and his wife have been discussing his possible resignation from the church since Wright's appearance at The Press Club in Washington that reignited furor over remarks he had made in various sermons at the church. He said it was clear that since he was a presidential candidate, any remarks made at Trinity by any speaker "will be imputed to me even if they conflict" with his stated views and values.