The 20 miles defensive line, chosen by the Ottoman commanders to rally their 20,000-strong army and stop the invasion, was also designed to protect the Jaffa to Jerusalem railway and the threatened Junction Station.