Saving Old Trim

How to pry it off the wall in one piece