は~で有名 => famous for ~ N3
~ひょうしに(~拍子に)   => the moment [A], unintentionally / inadvertently caused something to happen N1