The phrase "was attached to" can be replaced by various synonyms depending on the context of the sentence. Some of the suitable alternatives include "was connected to," "was linked to," "was affixed to," and "was fastened to." Other useful synonyms are "was adhered to," "was glued to," and "was joined to." Whether you're describing a physical object or an emotional connection, it's essential to select the appropriate synonym that accurately conveys the meaning you intend to express. By doing so, you can avoid ambiguity and clearly communicate your message to your intended audience.