Sen. Arlen Specter (D-Pa.) on Wednesday said he is still mulling his retirement plans, but that he might accept a post in the Obama administration.

Specter, who lost his primary bid this spring after switching parties in 2009, is down to his last few months as a member of the Senate he joined in 1981. He said he plans to return for the lame-duck session after the election, but then isn't sure what the future holds.

"I'm thinking about it, but I'm following [former Senate Leader] George Mitchell's advice to never do anything too sudden," Specter told The Hill.

"I am writing a book, but I'm always doing that. I've written two — three, actually, but only two are worth reading," the senator deadpanned.

Specter's previous books are Passion for Truth (2000) and Never Give In: Battling Cancer in the Senate (2008). He began the third book in the late spring, focusing on the last two years of his Senate career.

Asked about rumors of his interest in serving in the Obama administration, Specter acknowledged interest but declined to offer specifics. The longtime Judiciary Committee chairman has been mentioned for positions at the Justice Department, but is also reportedly interested in a role in Middle East peace talks.

"It's a possibility, but I'm not seeking anything," Specter said.