Was Islam spread by the sword?

How can Islam be called the religion of peace when it was spread by the sword? WAS ISLAM SPREAD BY THE SWORD? It is a common complaint among some non-Muslims that Islam would not...