A protective circuit includes a non-
linear element, which further includes a gate
electrode, a gate insulating layer covering the gate
electrode, a pair of first and second wiring
layers whose end portions overlap with the gate
electrode over the gate insulating layer and in which a conductive layer and a second
oxide semiconductor layer are stacked, and a first
oxide semiconductor layer which overlaps with at least the gate electrode and which is in contact with side face portions of the gate insulating layer and the conductive layer of the first wiring layer and the second wiring layer and a side face portion and a top face portion of the second
oxide semiconductor layer. Over the gate insulating layer,
oxide semiconductor layers with different properties are bonded to each other, whereby stable operation can be performed as compared with Schottky junction. Thus, the
junction leakage can be decreased and the characteristics of the non-
linear element can be improved.