In this reaction, our water acted as an acid, a bronzed larry acid, because it donated NH, right? It gave an H to this guy producing ammonium and became hydroxide itself. So it was a base here I'm sorry, an acid here. In this reaction, it took away an H.
And because it took away an H, it was acting as a base. It accepted an age. So in this case, it was a base.