Oscillation on inline

A block of mass M = 1 kg is placed of a fixed rough incline of inclination $$\theta = \sin^{-1} \frac{7}{10}$$ and coefficient of friction $$\mu = \frac{1}{ \sqrt{51}}$$ connected to a spring of spring constant 100 N/m.
Initially the spring is in natural state with length = 10cm

If the block is left to move then find the final elongation in spring when block is completely at rest.