Assets acquired before marriage are taken to consideration in "long" marriages". The length of your marriage would be taken to be the time during which you were in a relationship up to the point at which you decide to divorce, which I calculate to be 10 years. This is a medium-long length of marriage.
In view of the fact that you have been contributing to the mortgage (I assume jointly or above a joint level) and the fact that property was acquire relatively close to you marriage it will likely form part of the matrimonial asset pool over which you would negotiate a financial settlement. So you would therefore be able to claim a share of the equity in the property. They longer your marriage lasts the stronger this claim becomes.
There is a presumption that each party is entitled to a 50:50 share of assets, this can be rebutted if, mainly, one party is to have residence of the children and therefore requires a larger share of the asset pool or, to a lesser extent. one party requires more due to health reasons or there is a large disparity in earning capacity.
In the event that your marriage looks like it is heading for divorce you should see a solicitor and they will likely advise you to enter a matrimonial home rights notice against the property to bring the attention of any would be purchasers that you have a right of occupation and claim against the equity.
If this has been useful please kindly click accept so that I may be rewarded for my time. It will be gratefully received and you will be free to ask follow up questions.