It is an object of the present invention to provide a semiconductor device in which a transistor including a layer for ohmic contact and a diode are formed from the same semiconductor laminated layer structure and the region over which the capacitance in the diode is controlled is widened.