Original: In 2002 , Gretna were elected to the Scottish Football League at the third attempt , taking the place of Airdrieonians .
Simplified: The club was elected to the Scottish Football League at the third attempt in 2002 .