NEW YORK (Reuters) - Major League Baseball president and chief operating officer Bob DuPuy announced his resignation on Tuesday, effective October 31, but will continue to work on special projects, the commissioner's office said.

DuPuy, who has served in the dual roles since March 2002, began his involvement with Major League Baseball in 1989, when he was retained as outside legal counsel.

"His legal expertise has been invaluable in the resolution of numerous challenging issues that have faced our industry," Commissioner Bud Selig said in a statement. "I am pleased that I can continue to draw on Bob's talents in the future."

(Reporting by Larry Fine, Editing by Frank Pingue)