The banks wanted such insurance to remove the risk associated with the mortgages and mortgagebacked securities which they had purchased

Add punctuation
The banks wanted such insurance to remove the risk associated with the mortgages and mortgage-backed securities which they had purchased.