LaTiO2N formed using our methods are rather nanoporous; providing plenty of opportunities for use in catalytic and sensing applications. In this work we used this material for using light to split water (in a process called photoelectrochemical water splitting).