What formed the Great Rift Valley?

1:volcanic activity and tectonic movement
2:a massive earthquake 200 years ago
3:a mountain range west of the valley
4:a massive basin in the valley's center