This is the 3442nd most frequent Korean word.
됐던
"됐던" means "that had become" or "that was."
Here, '됐던' is used as the past tense form describing the park as being beautiful in the past.
어제는 날씨가 정말 좋았고, 내가 갔던 공원도 아름다웠던 곳이었어요.
Yesterday the weather was really nice, and the park I went to was also a beautiful place.
'됐던' here conveys a completed action or status, indicating the friend's past experience of becoming a president.
그 친구가 예전에 대통령이 되었던 적이 있었습니다.
That friend once became the president in the past.
In this case, '됐던' is part of the descriptor for the item having fallen in the past.