As it decayed, the original wood was replaced by mineral matter.
(it; decayed; ) (the original wood; was replaced; by mineral matter; T:As it decayed)
it the original wood
decayed was replaced
by mineral matter T:As it decayed