Elect according to the foreknowledge of God the Father. Their election and salvation was in accordance with God's predetermined purpose to save men through the gospel, and hence, according to foreknowledge.
Through sanctification of the Spirit. The means by which they become elect are pointed out. They were separated from the world by the gospel, the word of the Spirit, a sanctification which signifies "a setting apart to holy uses". They were thus separated unto obedience and sprinkling of the blood of Jesus Christ. In obeying this they were "baptized into the death of Christ", Romans 6:1-4 and their sins were pardoned. The sanctification in this case precedes obedience and pardon.