There are always two counterparties to a repurchase agreement. The party that buys the collateral at the start of the trade and sells it on the maturity date enters a reverse repo.