He died because he fight against the akatsuki, the leader of the
akatsuki. Pain, he is the leader of the akatsuki, Master jiraya was
killed by the akatsuki.
View page
No, he never joined Akatsuki. Akatsuki wanted to extract Shikaku
(One tailed Raccon) from him which results death but they did it.
So there is no way he would join Akatsuki.