The second one sounds a bit stiff, but it's certainly correct. You can also just omit the "which" and use the first version: The birds he provided santuary for...
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.